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
Backup and Restore With AIX
Viewed 4894 times since Sat, May 19, 2018
AIX NFS Version 4 configuration over Kerberos inter-realm setup
Viewed 4383 times since Wed, Jun 27, 2018
AIX, Storage, System Admin Allocating shared storage to VIOS clients
Viewed 2531 times since Fri, Apr 19, 2019
Convert to Scalable Volume Groups
Viewed 4377 times since Wed, May 30, 2018
IVM and VLAN Tagging
Viewed 10662 times since Mon, May 28, 2018
Part 2, NFS monitoring and tuning
Viewed 6803 times since Mon, Jun 4, 2018
Software management in AIX
Viewed 7093 times since Mon, Jun 25, 2018
Tunneling With SSH to Your Destination
Viewed 4644 times since Wed, May 30, 2018
AIX: How to set automatic logoff (only for terminals)
Viewed 3339 times since Mon, Jun 11, 2018
AIX Creating a Volume Group
Viewed 2764 times since Tue, Jul 17, 2018