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
How to mirror the rootvg in AIX?
Viewed 4350 times since Mon, May 21, 2018
Configuring an AIX client with multiple Kerberos realms
Viewed 8361 times since Mon, Jun 25, 2018
How to Backup and Upgrade a Virtual I/O Server Part I
Viewed 3920 times since Wed, Jun 5, 2019
Secure Secure Shell
Viewed 9864 times since Fri, Aug 21, 2020
AIX, Security, System Admin↑ Clearing password history
Viewed 1755 times since Fri, Apr 19, 2019
SNAP in AIX
Viewed 11149 times since Mon, Sep 17, 2018
Checking HBA status on AIX
Viewed 16593 times since Fri, Oct 5, 2018
AIX, Security, System Admin Difference between sticky bit and SUID/GUID
Viewed 8430 times since Fri, Apr 19, 2019
Part 3, Monitoring your network packets and tuning the network
Viewed 5658 times since Mon, Jun 4, 2018
Rootvg Mirroring in AIX
Viewed 2226 times since Mon, May 21, 2018