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
Setup private yum repository for AIX clients
Viewed 11117 times since Thu, Feb 21, 2019
How to Configure Sendmail not to Look up MX records
Viewed 3589 times since Fri, Apr 19, 2019
0516-787 extendlv: Maximum allocation for logical volume error
Viewed 8791 times since Tue, Mar 12, 2019
AIX, Storage, System Admin Allocating shared storage to VIOS clients
Viewed 2272 times since Fri, Apr 19, 2019
AIX HOW TO CLONE A ROOTVG USING ALTERNATE DISK INSTALLATION ALTER_DISK_COPY
Viewed 16775 times since Sun, Jun 30, 2019
AIX, System Admin↑ The chrctcp command
Viewed 3027 times since Fri, Apr 19, 2019
How To Mirror Your Root Disk On AIX (a.k.a. rootvg)
Viewed 5357 times since Mon, May 21, 2018
Kerberos authentication configuration for AIX servers
Viewed 10872 times since Mon, Jun 25, 2018
A Change to the SMT Mode Default in POWER9
Viewed 5279 times since Fri, Jan 18, 2019
Do you Know These 5 Use of V$session View ?
Viewed 105045 times since Thu, Jun 21, 2018