VERITAS Volume Manager 3.1 Administrator's Guide

Volume Manager Operations
Common Volume Manager Commands
Chapter 3140
Before the vxrelocd program attempts relocation, a snapshot of the
current configuration is saved in /etc/vx/saveconfig.d. This option
specifies the maximum number of configurations to keep for each disk
group. The default is 32.
vxstat Command
The vxstat command prints statistics about Volume Manager objects
and block devices under Volume Manager control. The vxstat command
reads the summary statistics for Volume Manager objects and formats
them to thestandard output. These statistics represent Volume Manager
activity from the time the system initially booted or from the last time
statistics were cleared. If no Volume Manager object name is specified,
statistics from all volumes in the configuration database are reported.
For more information, see the vxstat(1M) manual page and Chapter 9,
Performance Monitoring,.
vxtrace Command
The vxtrace command prints kernel I/O error or I/O error trace event
records on the standard output or writes them to a file in binary format.
Binary trace records written to a file are also read back and formatted by
the vxtrace command.
If no operands are given, then either all error trace data or all I/O trace
data on all virtual disk devices are reported. With error trace data, you
can select all accumulated error trace data, wait for new error trace data,
or both (the default). Selection can be limited to a specific disk group, to
specific Volume Manager kernel I/O object types, or to particular named
objects or devices.
For more information, see the vxtrace(1M) manual page and Chapter 9,
Performance Monitoring,.
vxunrelocate Command
After the disk that experienced the failure is fixed or replaced, the
vxunreloc command can be used to move all the hot-relocated subdisks
back to the disk. When a subdisk is hot-relocated, its original disk media
name and the offset into the disk, are saved in the configuration
database. When a subdisk is moved back to the original disk or to a new
disk using the vxunreloc command, the information is erased. The