Veritas Volume Manager 5.0 Administrator's Guide (September 2006)

134 Administering dynamic multipathing (DMP)
Administering DMP using vxdmpadm
Displaying the members of a LUN group
The following command displays the DMP nodes that are in the same LUN group as a
specified DMP node:
# vxdmpadm getlungroup dmpnodename=c11t0d10
The above command displays output such as the following:
NAME STATE ENCLR-TYPE PATHS ENBL DSBL ENCLR-NAME
===============================================================
c11t0d8 ENABLED ACME 2 2 0 enc1
c11t0d9 ENABLED ACME 2 2 0 enc1
c11t0d10 ENABLED ACME 2 2 0 enc1
c11t0d11 ENABLED ACME 2 2 0 enc1
Displaying paths controlled by a DMP node, controller or array port
The vxdmpadm getsubpaths command combined with the dmpnodename attribute
displays all the paths to a LUN that are controlled by the specified DMP node name from
the /dev/vx/rdmp directory:
# vxdmpadm getsubpaths dmpnodename=c2t66d0
NAME STATE[A] PATH-TYPE[M]CTLR-NAMEENCLR-TYPE ENCLR-NAME ATTRS
===================================================================
c2t66d0 ENABLED(A) PRIMARY c2 ACME enc0 -
c1t66d0 ENABLED PRIMARY c1 ACME enc0 -
For A/A arrays, all enabled paths that are available for I/O are shown as ENABLED(A).
For A/P arrays in which the I/O policy is set to singleactive, only one path is shown
as ENABLED(A). The other paths are enabled but not available for I/O. If the I/O policy is
not set to singleactive, DMP can use a group of paths (all primary or all secondary)
for I/O, which are shown as ENABLED(A). See “Specifying the I/O policy” on page 141
for more information.
Paths that are in the DISABLED state are not available for I/O operations.
You can use
getsubpaths to obtain information about all the paths that are connected to
a particular HBA controller:
# vxdmpadm getsubpaths ctlr=c2
NAME STATE[-] PATH-TYPE[-] CTLR-NAME ENCLR-TYPE ENCLR-NAMEATTRS
===================================================================
c2t1d0 ENABLED PRIMARY c2t1d0 ACME enc0 -
c2t2d0 ENABLED PRIMARY c2t2d0 ACME enc0 -
c2t3d0 ENABLED SECONDARY c2t3d0 ACME enc0 -
c2t4d0 ENABLED SECONDARY c2t4d0 ACME enc0 -