Having created a volume set containing a single volume, you can use the following command to add further volumes to the volume set:
# vxvset [-g
diskgroup] [-f] addvol
volset
volume
For example, to add the volume vol2
, to the volume set myvset
, use the following command:
# vxvset -g mydg addvol myvset vol2
Caution
The -f
(force) option must be specified if the volume being added, 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.