Veritas Volume Manager 5.0.1 Administrator's Guide, HP-UX 11i v3, First Edition, November 2009

# vxdiskunsetup devicename
For example, to remove the disk c1t0d0 from VxVM control, enter the following:
# vxdiskunsetup c1t0d0
You can remove a disk on which some subdisks of volumes are defined. For
example, you can consolidate all the volumes onto one disk. If you use vxdiskadm
to remove a disk, you can choose to move volumes off that disk. To do this, run
vxdiskadm and select Remove a disk from the main menu.
If the disk is used by some volumes, this 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)
If you choose y, all volumes are moved off the disk, if possible. Some volumes may
not be movable. The most common reasons why a volume may not be movable
are as follows:
There is not enough space on the remaining disks.
Plexes or striped subdisks cannot be allocated on different disks from existing
plexes or striped subdisks in the volume.
If vxdiskadm cannot move some volumes, you may need to remove some plexes
from some disks to free more space before proceeding with the disk removal
operation.
Deporting a disk group
Deporting a disk group disables access to a disk group that is enabled (imported)
by the system. Deport a disk group if you intend to move the disks in a disk group
to another system.
Creating and administering disk groups
Deporting a disk group
202