HP (Hewlett-Packard) HP-UX 11i v3 Landscape Lighting User Manual


 
278 Administering 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
1 Use 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 278.
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
# vxvol [-g diskgroup] set drl=off volume