Viewing Information About LUNs on Specific Ports
View all LUNs related to specific target ports by performing the following procedure:
- View the LUN list.
bash-3.2# mpathadm list lu /dev/rdsk/c2t632323210032323206B0E17A00000005d0s2 Total Path Count: 2 Operational Path Count: 2 /dev/rdsk/c2t63232321003232320516B53500000004d0s2 Total Path Count: 2 Operational Path Count: 2 bash-3.2#
- View information about a specific LUN to identify target ports.
bash-3.2# mpathadm show lu /dev/rdsk/c2t632323210032323206B0E17A00000005d0s2 Logical Unit: /dev/rdsk/c2t632323210032323206B0E17A00000005d0s2 mpath-support: libmpscsi_vhci.so Vendor: HUASY Product: S2600T Revision: 2102 Name Type: unknown type Name: 632323210032323206b0e17a00000005 Asymmetric: no Current Load Balance: round-robin Logical Unit Group ID: NA Auto Failback: on Auto Probing: NA Paths: Initiator Port Name: 10000000c96fa383 Target Port Name: 2003323232323232 Override Path: NA Path State: OK Disabled: no Initiator Port Name: 10000000c96fa382 Target Port Name: 2013323232323232 Override Path: NA Path State: OK Disabled: no Target Ports: Name: 2003323232323232 Relative ID: 0 Name: 2013323232323232 Relative ID: 0 bash-3.2#
In the preceding example, target port names are 2003323232323232 and 2013323232323232.
- View LUN information of a specific target port
bash-3.2# mpathadm list lu -t 2003323232323232
mpath-support: libmpscsi_vhci.so
/dev/rdsk/c2t632323210032323206B0E17A00000005d0s2
Total Path Count: 2
Operational Path Count: 2
mpath-support: libmpscsi_vhci.so
/dev/rdsk/c2t63232321003232320516B53500000004d0s2
Total Path Count: 2
Operational Path Count: 2
bash-3.2#