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 do you send an attachment via mail
Viewed 3682 times since Mon, Jun 11, 2018
Got Duplicate PVIDs in Your User VG? Try Recreatevg!
Viewed 4436 times since Fri, Feb 1, 2019
Setup private yum repository for AIX clients
Viewed 12111 times since Thu, Feb 21, 2019
Create volume groups on AIX - Normal Big Scalable
Viewed 7573 times since Thu, Feb 21, 2019
AIX Replacing a failed disk (rootvg)
Viewed 9787 times since Tue, Jul 17, 2018
Mount CD/DVD & ISO image in AIX 6.1
Viewed 4762 times since Tue, Jul 17, 2018
IBM AIX commands you should not leave home without
Viewed 7850 times since Mon, Jun 11, 2018
AIX: How to manage network tuning parameters
Viewed 4793 times since Mon, Jun 11, 2018
AIX: Configuring a network interface
Viewed 4609 times since Sat, Jun 2, 2018
VIO Server Howto
Viewed 11125 times since Mon, Jun 11, 2018