AIX: Remove existing disk

AIX: Remove existing disk

# Tested on AIX 6.1

# Once disk is not used anymore (not assigned to a volume group or oracle ASM device, for
# instance), we can remove it from system like this


# Check before

lspv
      hdisk0          00c6b1c54670e768                    datavg          active
      hdisk1          00c6b1c531e590ce                    rootvg          active
      hdisk2          none                                None
      hdisk5          none                                None
      hdisk7          none                                None
      hdisk3          none                                None
      hdisk4          00c6b1c545e70939                    rootvg          active


rmdev -dl hdisk7


# Check after

lspv
      hdisk0          00c6b1c54670e768                    datavg          active
      hdisk1          00c6b1c531e590ce                    rootvg          active
      hdisk2          none                                None
      hdisk5          none                                None
      hdisk3          none                                None
      hdisk4          00c6b1c545e70939                    rootvg          active

0 (0)
Article Rating (No Votes)
Rate this article
Attachments
There are no attachments for this article.
Comments
There are no comments for this article. Be the first to post a comment.
Full Name
Email Address
Security Code Security Code
Related Articles RSS Feed
AIX Encrypted File System
Viewed 6798 times since Tue, Jul 17, 2018
Recovery AIX system when hang on boot (554 code error).
Viewed 18461 times since Thu, Feb 21, 2019
sysdumpdev Command
Viewed 2706 times since Mon, Jul 16, 2018
Customizing a NIM Client Restore With a Post-Install Script
Viewed 12441 times since Wed, May 30, 2018
Undocumented AIX command lquerypv
Viewed 4713 times since Mon, Jul 16, 2018
Tuning AIX Network Performance
Viewed 5421 times since Tue, May 22, 2018
How to check dual path in AIX
Viewed 15564 times since Fri, Jun 8, 2018
AIX QHA
Viewed 11998 times since Mon, Jun 3, 2019
AIX Assign a PVID to a new hdisk
Viewed 7351 times since Tue, Jul 17, 2018
AIX NFS Version 4 configuration over Kerberos inter-realm setup
Viewed 5370 times since Wed, Jun 27, 2018