Veritas Volume Manager 5.1 SP1 Administrator"s Guide (5900-1506, April 2011)

To upgrade an existing disk group and the volumes that it contains
1
Upgrade the disk group that contains the volume to the latest version before
performing the remainder of the procedure described in this section. To check
the version of a disk group, use the following command :
# vxdg list diskgroup
To upgrade a disk group to the latest version, use the following command:
# vxdg upgrade diskgroup
See Upgrading the disk group version on page 264.
2
To discover which volumes in the disk group have version 0 DCOs associated
with them, use the following command:
# vxprint [-g diskgroup] -F "%name" -e "v_hasdcolog"
This command assumes that the volumes can only have version 0 DCOs as
the disk group has just been upgraded.
See Determining the DCO version number on page 362.
To upgrade each volume within the disk group, repeat the following steps as
required.
3
If the volume to be upgraded has a traditional DRL plex or subdisk (that is,
the DRL logs are not held in a version 20 DCO volume), use the following
command to remove this:
# vxassist [-g diskgroup] remove log volume [nlog=n]
To specify the number, n, of logs to be removed, use the optional attribute
nlog=n . By default, the vxassist command removes one log.
4
For a volume that has one or more associated snapshot volumes, use the
following command to reattach and resynchronize each snapshot:
# vxassist [-g diskgroup] snapback snapvol
If FastResync was enabled on the volume before the snapshot was taken, the
data in the snapshot plexes is quickly resynchronized from the original
volume. If FastResync was not enabled, a full resynchronization is performed.
5
To turn off FastResync for the volume, use the following command :
# vxvol [-g diskgroup] set fastresync=off volume
367Administering volumes
Upgrading existing volumes to use version 20 DCOs