Veritas Volume Manager 5.0 Administrator's Guide (September 2006)

269Administering volumes
Preparing a volume for DRL and instant snapshots
Determining the DCO version number
The instant snapshot and DRL-enabled DCO features require that a version 20 DCO be
associated with a volume, rather than an earlier version 0 DCO.
To find out the version number of a DCO that is associated with a volume
1Use the
vxprint command on the volume to discover the name of its DCO:
# DCONAME=‘vxprint [-g diskgroup] -F%dco_name volume
2Use the vxprint command on the DCO to determine its version number:
# vxprint [-g diskgroup] -F%version $DCONAME
Determining if DRL is enabled on a volume
To determine if DRL (configured using a version 20 DCO volume) is enabled on a
volume
1Use the vxprint command on the volume to discover the name of its DCO:
# DCONAME=‘vxprint [-g diskgroup] -F%dco_name volume
2 To determine if DRL is enabled on the volume, use the following command with the
volume’s DCO:
# vxprint [-g diskgroup] -F%drl $DCONAME
DRL is enabled if this command displays on.
3 If DRL is enabled, use this command with the DCO to determine if sequential DRL is
enabled:
# vxprint [-g diskgroup] -F%sequentialdrl $DCONAME
Sequential DRL is enabled if this command displays on.
Alternatively, you can use this command with the volume:
# vxprint [-g diskgroup] -F%log_type volume
This displays the logging type as REGION for DRL, DRLSEQ for sequential DRL, or
NONE if DRL is not enabled.
Note: If the number of active mirrors in the volume is less than 2, DRL logging is not
performed even if DRL is enabled on the volume. To find out if DRL logging is active, see
Determining if DRL logging is active on a volume” on page 269.
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: