VERITAS Volume Manager 3.5 Administrator's Guide (September 2002)

Performance Monitoring
288 VERITAS Volume Manager Administrator’s Guide
To display volume statistics, enter the vxstat command with no arguments. The
following is a typical display of volume statistics:
OPERATIONS BLOCKS AVG TIME(ms)
TYP NAME READ WRITE READ WRITE READ WRITE
vol archive 865 807 5722 3809 32.5 24.0
vol home 2980 5287 6504 10550 37.7 221.1
vol local 49477 49230 507892 204975 28.5 33.5
vol rootvol 102906 342664 1085520 1962946 28.1 25.6
vol src 79174 23603 425472 139302 22.4 30.9
vol swapvol 22751 32364 182001 258905 25.3 323.2
Such output helps to identify volumes with an unusually large number of operations or
excessive read or write times.
To display disk statistics, use the vxstat -d command. The following is a typical display
of disk statistics:
OPERATIONS BLOCKS AVG TIME(ms)
TYP NAME READ WRITE READ WRITE READ WRITE
dm disk01 40473 174045 455898 951379 29.5 35.4
dm disk02 32668 16873 470337 351351 35.2 102.9
dm disk03 55249 60043 780779 731979 35.3 61.2
dm disk04 11909 13745 114508 128605 25.0 30.7
If theyou needto move the volume namedarchive onto another disk, use the following
command to identify on which disks it lies:
# vxprint -tvh archive
The following is a typical display:
V NAME SETYPE STATE STATE LENGTH READPOL REFPLEX
PL NAME VOLUMEK STATE STATE LENGTH LAYOUT NCOL/WDTH MODE
SD NAME PLEX PLOFFS DISKOFFSLENGTH [COL/]OFF FLAGS
v archive fsgen ENABLED ACTIVE 20480 0 SELECT -
pl archive-01archive ENABLED ACTIVE 20480 0 CONCAT RW
sd disk03-03archive-010 409600 20480 0/0 c1t2d0
Note Your system may use a device name that differs from the examples. For more
information on device names, see “Administering Disks” on page 53.
The subdisks line (beginning sd) indicates that the archive volume is on disk disk03.
To move the volume off disk03, use the following command:
# vxassist move archive !disk03 dest_disk