How to Find HBA/WWN/WWPN ON SOLARIS

To find the HBA Connectivity status
bash-3.00# luxadm -e port
/devices/ssm@0,0/pci@19,700000/SUNW,emlxs@1/fp@0,0:devctl
/devices/ssm@0,0/pci@19,700000/SUNW,emlxs@1,1/fp@0,0:devctl
CONNECTED
/devices/ssm@0,0/pci@19,600000/SUNW,emlxs@2/fp@0,0:devctl
/devices/ssm@0,0/pci@19,600000/SUNW,emlxs@2,1/fp@0,0:devctl
CONNECTED

CONNECTED
NOT
CONNECTED
NOT

To Find the Newly attached HBA and Existing HBA Cards
bash-3.00# luxadm probe
No Network Array enclosures found in /dev/es
Found Fibre Channel device(s):
Node WWN:50060e8004569372 Device Type:Disk device
Logical Path:/dev/rdsk/c2t50060E8004569372d0s2
Node WWN:50060e8004569372 Device Type:Disk device
Logical Path:/dev/rdsk/c2t50060E8004569372d1s2
Node WWN:50060e8004569372 Device Type:Disk device
Logical Path:/dev/rdsk/c2t50060E8004569372d2s2
Node WWN:50060e8004569372 Device Type:Disk device
Logical Path:/dev/rdsk/c2t50060E8004569372d3s2
Node WWN:50060e8004569372 Device Type:Disk device
Logical Path:/dev/rdsk/c2t50060E8004569372d4s2
Node WWN:50060e8004569372 Device Type:Disk device
Logical Path:/dev/rdsk/c2t50060E8004569372d5s2
Node WWN:50060e8004569362 Device Type:Disk device
Logical Path:/dev/rdsk/c3t50060E8004569362d0s2
Node WWN:50060e8004569362 Device Type:Disk device
Logical Path:/dev/rdsk/c3t50060E8004569362d1s2
Node WWN:50060e8004569362 Device Type:Disk device
Logical Path:/dev/rdsk/c3t50060E8004569362d2s2
Node WWN:50060e8004569362 Device Type:Disk device
Logical Path:/dev/rdsk/c3t50060E8004569362d3s2
Node WWN:50060e8004569362 Device Type:Disk device
Logical Path:/dev/rdsk/c3t50060E8004569362d4s2
Node WWN:50060e8004569362 Device Type:Disk device
Logical Path:/dev/rdsk/c3t50060E8004569362d5s2
bash-3.00# luxadm -e dump_map
/devices/ssm@0,0/pci@19,700000/SUNW,emlxs@1/fp@0,0:devctl
Pos Port_ID Hard_Addr Port WWN
Node WWN
Type
0 640513 0
50060e8004569372 50060e8004569372 0x0 (Disk device)
1 640613 0
10000000c955c5d8 20000000c955c5d8 0x1f (Unknown
Type,Host Bus Adapter)

50a8 Serial Number: 0999BG0-06220000TP Driver Name: emlxs Driver Version: 2.31p (2008.30) Type: N-port State: online Supported Speeds: 1Gb 2Gb Current Speed: 2Gb .0:c.0:c.10.00# fcinfo hba-port HBA Port WWN: 10000000c955c380 OS Device Name: /dev/cfg/c3 Manufacturer: Emulex Model: LP10000DC-S Firmware Version: 1.emlxs@1/fp@0.600000/SUNW.To find the dual-path in Solaris bash-3.700000/SUNW.raw LUN path port WWN: 50060e8004569362 Host controller port WWN: 10000000c955c380 Path status: O.11.812 MBytes Write Cache: Enabled Read Cache: Enabled Minimum prefetch: 0x0 Maximum prefetch: 0x0 Device Type: Disk device Path(s): /dev/rdsk/c2t50060E8004569372d0s2 /devices/ssm@0.0/pci@19.0/ssd@w50060e8 004569372. To list all the available cards with details information bash-3.0/ssd@w50060e8 004569362.92A1) FCode/BIOS Version: Boot:5. /dev/rdsk/c3t50060E8004569362d0s2 /devices/ssm@0.raw LUN path port WWN: 50060e8004569372 Host controller port WWN: 10000000c955c5d8 Path status: O.K.12.01a9 Fcode:1.0/pci@19.K.00# luxadm display /dev/rdsk/c2t50060E8004569372d0s2 DEVICE PROPERTIES for disk: /dev/rdsk/c2t50060E8004569372d0s2 Vendor: HITACHI Product ID: OPEN-V -SUN Revision: 5009 Serial Num: 50 056930113 Unformatted capacity: 35522.emlxs@2/fp@0.92a1 (T2D1.

30) Type: N-port State: online Supported Speeds: 1Gb 2Gb Current Speed: 2Gb Node WWN: 20000000c955c5d8 HBA Port WWN: 10000000c955c5d7 OS Device Name: /dev/cfg/c5 Manufacturer: Emulex Model: LP10000DC-S Firmware Version: 1.50a8 Serial Number: 0999BG0-06220000TP Driver Name: emlxs Driver Version: 2.12.92a1 (T2D1.31p (2008.11.12.50a8 Serial Number: 0999BG0-06220000NC Driver Name: emlxs Driver Version: 2.01a9 Fcode:1.30) Type: unknown State: offline Supported Speeds: 1Gb 2Gb Current Speed: not established Node WWN: 20000000c955c381 HBA Port WWN: 10000000c955c5d8 OS Device Name: /dev/cfg/c2 Manufacturer: Emulex Model: LP10000DC-S Firmware Version: 1.31p (2008.10.12.Node WWN: 20000000c955c380 HBA Port WWN: 10000000c955c381 OS Device Name: /dev/cfg/c6 Manufacturer: Emulex Model: LP10000DC-S Firmware Version: 1.31p (2008.92A1) FCode/BIOS Version: Boot:5.92A1) FCode/BIOS Version: Boot:5.10.11.92a1 (T2D1.10.01a9 Fcode:1.92A1) FCode/BIOS Version: Boot:5.01a9 Fcode:1.92a1 (T2D1.50a8 Serial Number: 0999BG0-06220000NC Driver Name: emlxs Driver Version: 2.11.30) Type: unknown State: offline Supported Speeds: 1Gb 2Gb Current Speed: not established Node WWN: 20000000c955c5d7 .

00# fcinfo remote-port -p 10000000c955c5d8 Remote Port WWN: 50060e8004569372 Active FC4 Types: SCSI SCSI Target: yes Node WWN: 50060e8004569372 Listing remote ports and link statistics bash-3.00# fcinfo hba-port -l 10000000c955c380 HBA Port WWN: 10000000c955c380 OS Device Name: /dev/cfg/c3 Manufacturer: Emulex Model: LP10000DC-S Firmware Version: 1.00# fcinfo remote-port -p 10000000c955c380 Remote Port WWN: 50060e8004569362 Active FC4 Types: SCSI SCSI Target: yes Node WWN: 50060e8004569362 bash-3.01a9 Fcode:1.10.Listing HBA ports and link statistics bash-3.30) Type: N-port State: online Supported Speeds: 1Gb 2Gb Current Speed: 2Gb Node WWN: 20000000c955c380 Link Error Statistics: Link Failure Count: 0 Loss of Sync Count: 5 Loss of Signal Count: 0 Primitive Seq Protocol Error Count: 0 Invalid Tx Word Count: 16 Invalid CRC Count: 0 Listing all remote ports bash-3.00# fcinfo remote-port -l -p 10000000c955c5d8 Remote Port WWN: 50060e8004569372 Active FC4 Types: SCSI SCSI Target: yes Node WWN: 50060e8004569372 Link Error Statistics: Link Failure Count: 0 Loss of Sync Count: 0 Loss of Signal Count: 0 .12.11.92A1) FCode/BIOS Version: Boot:5.31p (2008.50a8 Serial Number: 0999BG0-06220000TP Driver Name: emlxs Driver Version: 2.92a1 (T2D1.

00# fcinfo remote-port -sl -p 10000000c955c5d8 Remote Port WWN: 50060e8004569372 Active FC4 Types: SCSI SCSI Target: yes Node WWN: 50060e8004569372 Link Error Statistics: Link Failure Count: 0 Loss of Sync Count: 0 Loss of Signal Count: 0 .00# fcinfo remote-port -s -p 10000000c955c5d8 Remote Port WWN: 50060e8004569372 Active FC4 Types: SCSI SCSI Target: yes Node WWN: 50060e8004569372 LUN: 0 Vendor: HITACHI Product: OPEN-V -SUN OS Device Name: /dev/rdsk/c2t50060E8004569372d0s2 LUN: 1 Vendor: HITACHI Product: OPEN-V -SUN OS Device Name: /dev/rdsk/c2t50060E8004569372d1s2 LUN: 2 Vendor: HITACHI Product: OPEN-V -SUN OS Device Name: /dev/rdsk/c2t50060E8004569372d2s2 LUN: 3 Vendor: HITACHI Product: OPEN-V -SUN OS Device Name: /dev/rdsk/c2t50060E8004569372d3s2 LUN: 4 Vendor: HITACHI Product: OPEN-V -SUN OS Device Name: /dev/rdsk/c2t50060E8004569372d4s2 LUN: 5 Vendor: HITACHI Product: OPEN-V -SUN OS Device Name: /dev/rdsk/c2t50060E8004569372d5s2 Listing all SCSI targets and link statistics bash-3.Primitive Seq Protocol Error Count: 0 Invalid Tx Word Count: 0 Invalid CRC Count: 0 Listing all SCSI targets and link statistics bash-3.

c955c5d7 node_wwn: 20000000.c955c380 port_wwn: 10000000.00# prtconf -pvv | grep -i wwn port_wwn: 10000000.c955c380 node_wwn: 20000000.00# /usr/sbin/prtpicl -v -c scsi-fcp | grep -i wwn :node_wwn 20 00 00 00 c9 55 c5 d8 :port_wwn 10 00 00 00 c9 55 c5 d8 :node_wwn 20 00 00 00 c9 55 c5 d7 :port_wwn 10 00 00 00 c9 55 c5 d7 :node_wwn 20 00 00 00 c9 55 c3 80 :port_wwn 10 00 00 00 c9 55 c3 80 :node_wwn 20 00 00 00 c9 55 c3 81 :port_wwn 10 00 00 00 c9 55 c3 81 .Primitive Seq Protocol Error Count: 0 Invalid Tx Word Count: 0 Invalid CRC Count: 0 LUN: 0 Vendor: HITACHI Product: OPEN-V -SUN OS Device Name: /dev/rdsk/c2t50060E8004569372d0s2 LUN: 1 Vendor: HITACHI Product: OPEN-V -SUN OS Device Name: /dev/rdsk/c2t50060E8004569372d1s2 LUN: 2 Vendor: HITACHI Product: OPEN-V -SUN OS Device Name: /dev/rdsk/c2t50060E8004569372d2s2 LUN: 3 Vendor: HITACHI Product: OPEN-V -SUN OS Device Name: /dev/rdsk/c2t50060E8004569372d3s2 LUN: 4 Vendor: HITACHI Product: OPEN-V -SUN OS Device Name: /dev/rdsk/c2t50060E8004569372d4s2 LUN: 5 Vendor: HITACHI Product: OPEN-V -SUN OS Device Name: /dev/rdsk/c2t50060E8004569372d5s2 To check the HBA WWPN Number bash-3.c955c5d8 node_wwn: 20000000.c955c381 bash-3.c955c5d7 port_wwn: 10000000.c955c381 node_wwn: 20000000.c955c5d8 port_wwn: 10000000.