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

Adding a volume to a volume set
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
Warning: 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.
Listing details of volume sets
To list the details of the component volumes of a volume set, use the following
command:
# vxvset [-g diskgroup] list [volset]
If the name of a volume set is not specified, the command lists the details of all
volume sets in a disk group, as shown in the following example:
# vxvset -g mydg list
NAME GROUP NVOLS CONTEXT
set1 mydg 3 -
set2 mydg 2 -
To list the details of each volume in a volume set, specify the name of the volume
set as an argument to the command:
# vxvset -g mydg list set1
VOLUME INDEX LENGTH KSTATE CONTEXT
vol1 0 12582912 ENABLED -
vol2 1 12582912 ENABLED -
vol3 2 12582912 ENABLED -
413Creating and administering volume sets
Adding a volume to a volume set