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:

# vxdmpadm getsubpaths dmpnodename=hdisk22

NAME STATE[A] PATH-TYPE[M] CTLR-NAME ENCLR-TYPE ENCLR-NAME ATTRS

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

hdisk22 ENABLED(A) PRIMARY scsi2 ACME enc0 -

hdisk21 ENABLED PRIMARY scsi1 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 135.

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=scsi2

NAME STATE[-] PATH-TYPE[-] CTLR-NAME ENCLR-TYPE ENCLR-NAME ATTRS

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

hdisk10 ENABLED PRIMARY hdisk10 ACME enc0 -

hdisk11 ENABLED PRIMARY hdisk11 ACME enc0 -

hdisk12 ENABLED SECONDARY hdisk12 ACME enc0 -

hdisk13 ENABLED SECONDARY hdisk13 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