VERITAS Storage Foundation 4.1 Cross-Platform Data Sharing Administrator's Guide
Chapter 3, Maintaining Your System
Displaying Information
31
Displaying Traditional DRL Map Size and Log Size
Use the vxprint command to display the map length and map alignment of traditional DRL logs:
# vxprint -g dg1 -vl drlvols
# vxprint -g dg1 -vF '%name %logmap_len %logmap_align' drlvols
Displaying the Disk Group Alignment
To discover the value in blocks of the alignment that is set on a disk group, use this command:
# vxprint -g diskgroup -G -F %align
Utilities that print information regarding a disk group record (such as, vxprint and vxdg
list) can also output the disk group alignment. For example, to print information for disk group
dg1, you can use the command:
# vxdg list dg1
Displaying Volume Log Map Values
Use the vxprint command to determine the log map alignment and log map length values:
# vxprint [ -g diskgroup ] -lv volname
For example, to print information for the volume vol1 in disk group dg1, you can use the
command:
# vxprint -g dg1 -lv vol1
The output is of the form:
logging: type=REGION loglen=0 serial=0/0 mapalign=0 maplen=0
(disabled)
This indicates a log map alignment (logmap_align) value of 0, and a log map length
(logmap_len) value of 0.
If the log map is set and enabled, the command and results may be of the form:
# vxprint -lv drlvol
Disk group: dgTestSol
Volume: drlvol
info: len=20480
type: usetype=fsgen
state: state=ACTIVE kernel=ENABLED cdsrecovery=0/0 (clean)
assoc: plexes=drlvol-01,drlvol-02,drlvol-03
policies: read=SELECT (round-robin) exceptions=GEN_DET_SPARSE
flags: closed writecopy writeback