![]() |
![]() |
![]() |
![]() |
![]() |
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=sdu
NAME STATE[A] PATH-TYPE[M] CTLR-NAME ENCLR-TYPE ENCLR-NAME ATTRS
===================================================================
sdu ENABLED(A) PRIMARY c2 ACME enc0 -
sdt 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 159.
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
===================================================================
sdk ENABLED PRIMARY sdk ACME enc0 -
sdl ENABLED PRIMARY sdl ACME enc0 -
sdm ENABLED SECONDARY sdm ACME enc0 -
sdn ENABLED SECONDARY sdn 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