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
Many Choices for AIX File Integrity
Viewed 2659 times since Wed, May 30, 2018
Create memory resident filesystems (RAM disk) on AIX
Viewed 2672 times since Thu, Feb 21, 2019
AIX FC Performance improvements for IBM AIX FC and FCoE device driver stacks
Viewed 5714 times since Fri, Jan 31, 2020
Configuring an AIX client with multiple Kerberos realms
Viewed 8899 times since Mon, Jun 25, 2018
LVM: Shrink & extend a filesystem/volume
Viewed 2119 times since Sun, Jun 3, 2018
AIX Errpt - Diag - Alog
Viewed 3596 times since Wed, Mar 20, 2019
What is OS Watcher Utility and How to use it for Database Troubleshooting ?
Viewed 29936 times since Thu, Jun 21, 2018
Troubleshooting Starts With Understanding Your Physical Disks’ Attributes
Viewed 3737 times since Sat, May 19, 2018
AIX oslevel version OS
Viewed 4863 times since Wed, Apr 17, 2019
AIX 7.2 running on my Macbook?
Viewed 12377 times since Mon, Jun 3, 2019