Veritas Volume Manager 5.1 SP1 Administrator"s Guide (5900-1506, April 2011)

Recovering volumes in shared disk groups
The vxrecover utility is used to recover plexes and volumes after disk replacement.
When a node leaves a cluster, it can leave some mirrors in an inconsistent state.
The vxrecover utility can be used to recover such volumes. The -c option to
vxrecover causes it to recover all volumes in shared disk groups. The vxconfigd
daemon automatically calls the vxrecover utility with the -c option when
necessary.
Warning: While the vxrecover utility is active, there can be some degradation in
system performance.
Obtaining cluster performance statistics
The vxstat utility returns statistics for specified objects. In a cluster environment,
vxstat gathers statistics from all of the nodes in the cluster. The statistics give
the total usage, by all nodes, for the requested objects. If a local object is specified,
its local usage is returned.
You can optionally specify a subset of nodes using the following form of the
command:
# vxstat -g diskgroup -n node[,node...]
where node is the CVM node ID number. You can find out the CVM node ID by
using the following command:
# vxclustadm nidmap
If a comma-separated list of nodes is supplied, the vxstat utility displays the sum
of the statistics for the nodes in the list.
For example, to obtain statistics for node 2, volume vol1,use the following
command:
# vxstat -g diskgroup -n 2 vol1
This command produces output similar to the following:
OPERATIONS BLOCKS AVG TIME(ms)
TYP NAME READ WRITE READ WRITE READ WRITE
vol vol1 2421 0 600000 0 99.0 0.0
To obtain and display statistics for the entire cluster, use the following command:
# vxstat -b
461Administering cluster functionality (CVM)
Administering VxVM in cluster environments