Removing a disk with subdisks

You can remove a disk on which some subdisks are defined. For example, you can consolidate all the volumes onto one disk. If you use the vxdiskadm program to remove a disk, you can choose to move volumes off that disk.

Some subdisks are not movable. A subdisk may not be movable for one of the following reasons:

If the vxdiskadm program cannot move some subdisks, remove some plexes from some disks to free more space before proceeding with the disk removal operation.

To remove a disk with subdisks

  1. Run the vxdiskadm program and select Remove a disk from the main menu.

    If the disk is used by some subdisks, the following message is displayed:

    VxVM ERROR V-5-2-369 The following volumes currently use part of 
    disk mydg02: 
    
    home usrvol 
    
    Volumes must be moved from mydg02 before it can be removed. 
        
    Move volumes to other disks? [y,n,q,?] (default: n)
  2. Choose y to move all subdisks off the disk, if possible.

More Information

Removing a volume