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 volume
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
Note
When the final volume is removed, this deletes the volume set.
Caution
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.
|