Symantec logo

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:

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-NAME ENCLR-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 144.

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-NAME ATTRS

===================================================================

c2t1d0 ENABLED PRIMARY c2t1d0 ACME enc0 -

c2t2d0 ENABLED PRIMARY c2t2d0 ACME enc0 -

c2t3d0 ENABLED SECONDARY c2t3d0 ACME enc0 -

c2t4d0 ENABLED SECONDARY c2t4d0 ACME enc0 -

You can also use getsubpaths to obtain information about all the paths that are connected to a port on an array. The array port can be specified by the name of the enclosure and the array port ID, or by the worldwide name (WWN) identifier of the array port:

# vxdmpadm getsubpaths enclosure=HDS9500V0 portid=1A

# vxdmpadm getsubpaths pwwn=20:00:00:E0:8B:06:5F:19