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
Software management in AIX
Viewed 6699 times since Mon, Jun 25, 2018
Setup private yum repository for AIX clients
Viewed 11005 times since Thu, Feb 21, 2019
AIX Password expiry /etc/passwd
Viewed 18455 times since Wed, Jul 3, 2019
AIX: How to manage network tuning parameters
Viewed 3648 times since Mon, Jun 11, 2018
Firmware Assisted Dump sysdump
Viewed 1890 times since Mon, Jul 16, 2018
Changing Ethernet Media Speed for AIX
Viewed 3238 times since Tue, Apr 16, 2019
IBM AIX commands you should not leave home without
Viewed 7002 times since Mon, Jun 11, 2018
Recovery from LED 552, 554, or 556 in AIX
Viewed 2496 times since Tue, Apr 16, 2019
Script HW/SW AIX
Viewed 8946 times since Mon, Jun 4, 2018
How to Maintain a Virtual I/O Server With FBO Part II
Viewed 10506 times since Wed, Jun 5, 2019