1. Use the “luxadm -e port” command to verify HBA has established communication with a node.
# luxadm -e port
/devices/[email protected]/[email protected]/[email protected]/[email protected]/SUNW,[email protected]/[email protected],0:devctl CONNECTED
/devices/[email protected]/[email protected]/[email protected]/[email protected]/SUNW,[email protected],1/[email protected],0:devctl CONNECTED
CONNECTED : HBA has established connection with either target or initiator.
NOT CONNECTED : HBA has not established a connection with some other node or it is connected to a switch that has no target.
2. Check WWN number HBA ports
HBA Port WWN: 21000024ff542d4a
Port Mode: Initiator
Port ID: 0
OS Device Name: /dev/cfg/c4
Manufacturer: QLogic Corp.
Model: 371-4325-02
Firmware Version: 8.05.00
FCode/BIOS Version: BIOS: 2.02; fcode: 2.03; EFI: 2.01;
Serial Number: 0402R00-1344164692
Driver Name: qlc
Driver Version: 171019-5.07
Type: L-port
State: online
Supported Speeds: 2Gb 4Gb 8Gb
Current Speed: 8Gb
Node WWN: 20000024ff542d4a
Max NPIV Ports: 253
NPIV port list:
HBA Port WWN: 21000024ff542d4b
Port Mode: Initiator
Port ID: 0
OS Device Name: /dev/cfg/c5
Manufacturer: QLogic Corp.
Model: 371-4325-02
Firmware Version: 8.05.00
FCode/BIOS Version: BIOS: 2.02; fcode: 2.03; EFI: 2.01;
Serial Number: 0402R00-1344164692
Driver Name: qlc
Driver Version: 171019-5.07
Type: L-port
State: online
Supported Speeds: 2Gb 4Gb 8Gb
Current Speed: 8Gb
Node WWN: 20000024ff542d4b
Max NPIV Ports: 253
NPIV port list:
3. Use the luxadm command to get the target port WWN with dump_map option.
# luxadm -e dump_map /devices/[email protected]/[email protected]/[email protected]/[email protected]/SUNW,[email protected]/[email protected],0:devctl
Pos Port_ID Hard_Addr Port WWN Node WWN Type
0 620000 0 210000e08b05b4c1 200000e08b05b4c1 0x1f (Unknown Type)
1 620100 0 50020f230000a81b 50020f200000a81b 0x0 (Disk device)