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 - How to get Memory infomation
Viewed 14432 times since Fri, Jun 8, 2018
Writing a Custom PVID
Viewed 4141 times since Fri, Feb 1, 2019
Recovery from LED 552, 554, or 556 in AIX
Viewed 3829 times since Tue, Apr 16, 2019
Understanding dump devices sysdumpdev
Viewed 6354 times since Mon, Jul 9, 2018
Part 1, Network overview - Monitoring the hardware
Viewed 6240 times since Mon, Jun 4, 2018
Rootvg Mirroring in AIX
Viewed 4016 times since Mon, May 21, 2018
Firmware Assisted Dump sysdump
Viewed 3253 times since Mon, Jul 16, 2018
How do I analyze and debug core files on AIX
Viewed 9012 times since Thu, Feb 21, 2019
How to check VLAN ID number on AIX?
Viewed 16258 times since Mon, May 28, 2018
Create jfs2 logical volume on AIX
Viewed 6420 times since Thu, Feb 21, 2019