Printing VxVM DMP path information


In addition to providing volume management capabilities, the Veritas volume manager can manage multiple paths to a disk device. This allows I/O to be load-balanced across multiple paths, and ensures that I/O is transparently routed around failed paths. To print path information for a specific disk, you can use the “vxdisk” or “vxdmpadm” utilities:

$ vxdisk list c2t21d36

[ ... ]

Multipathing information:
numpaths: 4
c2t21d36s2 state=enabled
c2t23d36s2 state=enabled
c3t20d36s2 state=disabled
c3t22d36s2 state=disabled

$ vxdmpadm getdmpnode nodename=c2t21d36s2

NAME STATE ENCLR-TYPE PATHS ENBL DSBL ENCLR-NAME
=========================================================================
c2t21d36s2 ENABLED EMC 4 2 2 EMC0

$ vxdmpadm getsubpaths dmpnodename=c2t21d36

NAME STATE PATH-TYPE CTLR-NAME ENCLR-TYPE ENCLR-NAME
====================================================================
c2t21d36s2 ENABLED - c2 EMC EMC0
c2t23d36s2 ENABLED - c2 EMC EMC0
c3t20d36s2 DISABLED - c3 EMC EMC0
c3t22d36s2 DISABLED - c3 EMC EMC0

The vxdisk(1m) and vxdmpadm(1m) output shows the number of paths to a disk device, and the current state of each path (e.g., enabled or disabled).

This article was posted by Matty on 2005-02-12 23:44:00 -0400 -0400