278Administering volumes

Preparing a volume for DRL and instant snapshots

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

2To determine if DRL is enabled on the volume, use the following command with the volume’s DCO:

#vxprint [-g diskgroup] -F%drl $DCONAMEDRL is enabled if this command displays on.

3If DRL is enabled, use this command with the DCO to determine if sequential DRL is enabled:

#vxprint [-g diskgroup] -F%sequentialdrl $DCONAMESequential 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 278.

Determining if DRL logging is active on a volumeTo determine if DRL logging is active on a mirrored volume

1Use 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‘

2Use the vxprint command on the DCO volume to find out if DRL logging is active:

#vxprint [-g diskgroup] -F%drllogging $DCOVOLThis command returns on if DRL logging is enabled.Disabling and re-enabling DRLTo disable DRL (configured using a version 20 DCO volume) on a volume
# vxvol [-g diskgroup] set drl=off volume