Removing a volume from a volume set

To remove a component volume from a volume set, use the following command:

# vxvset [-g diskgroup] [-f] rmvol volset

For example, the following commands remove the volumes, vol1 and vol2, from the volume set myvset:

# vxvset -g mydg rmvol myvset vol1
# vxvset -g mydg rmvol myvset vol2

Removing the final volume deletes the volume set.


The -f (force) option must be specified if the volume being removed, or any volume in the volume set, is either a snapshot or the parent of a snapshot. Using this option can potentially cause inconsistencies in a snapshot hierarchy if any of the volumes involved in the operation is already in a snapshot chain.