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



Article Number: 209
Posted: Sun, Jun 3, 2018 10:08 AM
Last Updated: Sun, Jun 3, 2018 10:08 AM

Online URL: http://kb.ictbanking.net/article.php?id=209