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
Manages processor scheduler tunable parameters schedo AIX
Viewed 2296 times since Thu, Sep 20, 2018
LVM: Extend an existing Volume Group by adding a new disk
Viewed 5088 times since Sat, Jun 2, 2018
AIX: Configuring a network interface
Viewed 2750 times since Sat, Jun 2, 2018
bootlist multiple boot logical volume found
Viewed 2405 times since Tue, Apr 16, 2019
LVM: Display basic information about Physical Volumes, Volume Groups and Logical Volumes
Viewed 2586 times since Sun, Jun 3, 2018
How To Mirror Your Root Disk On AIX (a.k.a. rootvg)
Viewed 4507 times since Mon, May 21, 2018
AIX POWERHA/HACMP: Basic commands
Viewed 4771 times since Sat, Jun 2, 2018
Mount CD/DVD & ISO image in AIX 6.1
Viewed 3528 times since Tue, Jul 17, 2018
Mirroring session (TTY) on AIX using portmir
Viewed 8709 times since Thu, Feb 21, 2019
AIX: Script to check if all paths are consistent and available
Viewed 2668 times since Tue, Jun 12, 2018