To remove one or more disks from the storage pool, use the following command definition:
# vxpool [-g diskgroup] rmdisk storage_pool dm=dm1[,dm2...]
In the following example, the disks, mydg01 and mydg04, are removed from the storage pool, ReliablePool, for use elsewhere:
# vxpool -g mydg rmdisk ReliablePool dm=mydg01,mydg04
You cannot remove a disk from a storage pool if any volumes are configured on that disk. To remove such a disk, first use the vxassist evacuate command to move the volumes away from the disk. When you have done this, you can then remove the disk from the storage pool.