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
HOWTO: Implement SEA Failover with Dual VIOS
Viewed 8118 times since Tue, Jun 4, 2019
Check connection (rsh or nimsh) between NIM server and LPAR
Viewed 10978 times since Thu, Feb 21, 2019
Monitoring Events with AIX Audit
Viewed 4497 times since Wed, May 30, 2018
Configuring an AIX client with multiple Kerberos realms
Viewed 9672 times since Mon, Jun 25, 2018
How To Mirror VG and Root VG
Viewed 3544 times since Mon, May 21, 2018
SSH Essentials: Working with SSH Servers, Clients, and Keys
Viewed 4644 times since Wed, Jun 27, 2018
Kerberos authentication configuration for AIX servers
Viewed 11257 times since Mon, Jun 25, 2018
AIX: How to manage network tuning parameters
Viewed 4119 times since Mon, Jun 11, 2018
AIX, Red Hat, Security, System Admin↑ System-wide separated shell history files for each user and session
Viewed 2422 times since Fri, Apr 19, 2019
Tips I Picked up at the Power Systems Technical University
Viewed 3025 times since Mon, Jun 11, 2018