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
Secure Secure Shell
Viewed 10944 times since Fri, Aug 21, 2020
Changing Ethernet Media Speed for AIX
Viewed 3520 times since Tue, Apr 16, 2019
Part 2, NFS monitoring and tuning
Viewed 6629 times since Mon, Jun 4, 2018
View mksysb content & restore individual files
Viewed 2017 times since Tue, Jul 17, 2018
Customizing a NIM Client Restore With a Post-Install Script
Viewed 11126 times since Wed, May 30, 2018
AIX 6/7 Script to create a file with commands to remove missing and failed paths
Viewed 3861 times since Tue, Jun 14, 2022
replacing (hot-swap) failed disk in rootvg
Viewed 9332 times since Thu, Sep 20, 2018
How to build a NIM Server on AIX 6.1 from the Scratch :: Part 1
Viewed 5164 times since Thu, Nov 29, 2018
Kerberos authentication configuration for AIX servers
Viewed 11145 times since Mon, Jun 25, 2018
LVM: Extend an existing Volume Group by adding a new disk
Viewed 5781 times since Sat, Jun 2, 2018