Viewing Information About Specific LUNs
View details about paths to specific LUNs by running the following commands:
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# 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#
For x86-based Solaris 10, if ALUA is enabled, relative IDs of target ports on all paths to a LUN are displayed by running the following command:
bash-3.00# mpathadm show lu /dev/rdsk/c4t60022A11000AFD57000872C90000000Ed0s2
Logical Unit: /dev/rdsk/c4t60022A11000AFD57000872C90000000Ed0s2
mpath-support: libmpscsi_vhci.so
Vendor: HUAWEI
Product: Dorado5100
Revision: 2101
Name Type: unknown type
Name: 60022a11000afd57000872c90000000e
Asymmetric: yes
Current Load Balance: round-robin
Logical Unit Group ID: NA
Auto Failback: on
Auto Probing: NA
Paths:
Initiator Port Name: 10000000c98147b5
Target Port Name: 22020022a10afd57
Override Path: NA
Path State: OK
Disabled: no
Initiator Port Name: 10000000c98147b6
Target Port Name: 22130022a10afd57
Override Path: NA
Path State: OK
Disabled: no
Initiator Port Name: 10000000c98147b6
Target Port Name: 22020022a10afd57
Override Path: NA
Path State: OK
Disabled: no
Target Port Groups:
ID: 1
Explicit Failover: yes
Access State: active optimized
Target Ports:
Name: 22020022a10afd57
Relative ID: 7984
Name: 22020022a10afd57
Relative ID: 529
Name: 22020022a10afd57
Relative ID: 530
Name: 22020022a10afd57
Relative ID: 531
Name: 22020022a10afd57
Relative ID: 532
ID: 2
Explicit Failover: yes
Access State: active not optimized
Target Ports:
Name: 22130022a10afd57
Relative ID: 16176
Name: 22130022a10afd57
Relative ID: 8721
Name: 22130022a10afd57
Relative ID: 8722
Name: 22130022a10afd57
Relative ID: 8723
Name: 22130022a10afd57
Relative ID: 8724