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
Using splitvg in AIX to make a copy of a volume group
Viewed 8635 times since Mon, Jun 3, 2019
AIX TCP connection status
Viewed 16560 times since Mon, Jul 29, 2019
Firmware Assisted Dump sysdump
Viewed 1924 times since Mon, Jul 16, 2018
Ethernet tunning for VIOS and AIX for 10 Gib/sec environtement.
Viewed 10325 times since Thu, Feb 21, 2019
AIX, Monitoring, Networking, Red Hat, Security, System Admin↑ Determining type of system remotely
Viewed 2177 times since Fri, Apr 19, 2019
AIX Different Commands For Paging Space Administration swap file create
Viewed 7331 times since Thu, Aug 1, 2019
My LPAR always boots into SMS. Why?
Viewed 3556 times since Tue, Apr 16, 2019
Recovery from LED 552, 554, or 556 in AIX
Viewed 2535 times since Tue, Apr 16, 2019
Mount CD/DVD & ISO image in AIX 6.1
Viewed 3941 times since Tue, Jul 17, 2018
Using the AIX splitvg command
Viewed 4165 times since Mon, Jun 3, 2019