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
ILMT Procedure - ILMT / TAD4D / SUA / BFI
Viewed 11173 times since Fri, Jul 5, 2019
Useful AIX general commands
Viewed 13317 times since Wed, Apr 17, 2019
Understanding dump devices sysdumpdev
Viewed 5931 times since Mon, Jul 9, 2018
Tuning AIX Network Performance
Viewed 5338 times since Tue, May 22, 2018
Monitoring Events with AIX Audit
Viewed 5701 times since Wed, May 30, 2018
My LPAR always boots into SMS. Why?
Viewed 4968 times since Tue, Apr 16, 2019
Authenticate AIX using MS DC’s kerberos servers (Active Directory)
Viewed 2887 times since Thu, Feb 21, 2019
AIX www web Links
Viewed 4139 times since Fri, Apr 19, 2019
HOWTO: Implement SEA Failover with Dual VIOS
Viewed 9536 times since Tue, Jun 4, 2019
Kerberos authentication configuration for AIX servers
Viewed 12116 times since Mon, Jun 25, 2018