Veritas Volume Manager 5.0 Administrator's Guide (September 2006)
139Administering dynamic multipathing (DMP)
Administering DMP using vxdmpadm
cpu usage = 8132us per cpu memory = 4096b
OPERATIONS BYTES AVG TIME(ms)
PATHNAME READS WRITES READS WRITES READS WRITES
c3t115d0 0 0 0 0 0.000000 0.000000
# vxdmpadm iostat show dmpnodename=c0t0d0
cpu usage = 8501us per cpu memory = 4096b
OPERATIONS BYTES AVG TIME(ms)
PATHNAME READS WRITES READS WRITES READS WRITES
c0t0d0 1088 0 557056 0 0.009542 0.000000
# vxdmpadm iostat show enclosure=Disk
cpu usage = 8626us per cpu memory = 4096b
OPERATIONS BYTES AVG TIME(ms)
PATHNAME READS WRITES READS WRITES READS WRITES
c0t0d0 1088 0 557056 0 0.009542 0.000000
You can also specify the number of times to display the statistics and the time interval.
Here the incremental statistics for a path are displayed twice with a 2-second interval:
# vxdmpadm iostat show pathname=c3t115d0 interval=2 count=2
cpu usage = 8195us per cpu memory = 4096b
OPERATIONS BYTES AVG TIME(ms)
PATHNAME READS WRITES READS WRITES READS WRITES
c3t115d0 0 0 0 0 0.000000 0.000000
cpu usage = 59us per cpu memory = 4096b
OPERATIONS BYTES AVG TIME(ms)
PATHNAME READS WRITES READS WRITES READS WRITES
c3t115d0 0 0 0 0 0.000000 0.000000
Setting the attributes of the paths to an enclosure
You can use the vxdmpadm setattr command to set the following attributes of the paths
to an enclosure or disk array:
■ active
Changes a standby (failover) path to an active path. The example below specifies an
active path for an A/P-C disk array:
# vxdmpadm setattr path c2t10d0 pathtype=active
■ nomanual
Restores the original primary or secondary attributes of a path. This example restores
the attributes for a path to an A/P disk array:
# vxdmpadm setattr path c3t10d0 pathtype=nomanual
■ nopreferred
Restores the normal priority of a path. The following example restores the default
priority to a path: