Veritas Volume Manager 5.0 Administrator's Guide (September 2006)
270 Administering volumes
Upgrading existing volumes to use version 20 DCOs
# DCONAME=‘vxprint [-g diskgroup] -F%dco_name volume‘
# DCOVOL=‘vxprint [-g diskgroup] -F%parent_vol $DCONAME‘
2Use the vxprint command on the DCO volume to find out if DRL logging is active:
# vxprint [-g diskgroup] -F%drllogging $DCOVOL
This command returns on if DRL logging is enabled.
Disabling and re-enabling DRL
To disable DRL (configured using a version 20 DCO volume) on a volume
# vxvol [-g diskgroup] set drl=off volume
To re-enable DRL on a volume, enter this command:
# vxvol [-g diskgroup] set drl=on volume
To re-enable sequential DRL on a volume, enter:
# vxvol [-g diskgroup] set drl=sequential volume
You can use these commands to change the DRL policy on a volume by first disabling and
then re-enabling DRL as required. DRL is automatically disabled if a data change map
(DCM, used with Veritas Volume Replicator) is attached to a volume.
Removing support for DRL and instant snapshots from a volume
To remove support for DRL and instant snapshot operation from a volume, use the
following command to remove the DCO and DCO volume that are associated with the
volume:
# vxsnap [-g diskgroup] unprepare volume
This command also has the effect of disabling FastResync tracking on the volume.
Note: This command fails if the volume is part of a snapshot hierarchy.
Upgrading existing volumes to use version 20 DCOs
The procedure described in this section describes how to upgrade a volume created before
VxVM 4.0 so that it can take advantage of new features such as instant snapshots, and
DRL logs that are configured within the DCO volume. This requires upgrading the version
of the disk groups, removing any existing snapshots and version 0 DCOs that are
associated with volumes in the disk groups, and finally configuring the volumes with
version 20 DCOs.