Veritas Volume Manager 4.1 Administrator's Guide (HP-UX 11i v3, February 2007)

Chapter 8, Administering Volumes
Preparing a Volume for DRL and Instant Snapshots
239
Determining if DRL Logging is Active on a Volume
To determine if DRL logging is active on a mirrored volume:
1. Use the following vxprint commands to discover the name of the volume’s DCO
volume:
# DCONAME=‘vxprint [-g diskgroup] -F%dco_name volume
# DCOVOL=‘vxprint [-g diskgroup] -F%parent_vol $DCONAME‘
2. Use 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, enter the
following command:
# 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.