0% found this document useful (0 votes)
553 views

Hba WWN-WWPN On Solaris

The document provides commands and examples to find HBA/WWN/WWPN information on Solaris systems. It shows how to check the connectivity status of HBAs, find newly attached and existing HBA cards, dump mapping information, display device properties, list HBA ports and their details, list remote ports and SCSI targets, and check HBA WWPN numbers.

Uploaded by

anilanjunil
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
553 views

Hba WWN-WWPN On Solaris

The document provides commands and examples to find HBA/WWN/WWPN information on Solaris systems. It shows how to check the connectivity status of HBAs, find newly attached and existing HBA cards, dump mapping information, display device properties, list HBA ports and their details, list remote ports and SCSI targets, and check HBA WWPN numbers.

Uploaded by

anilanjunil
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 7

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 CONNECTED
/devices/ssm@0,0/pci@19,700000/SUNW,emlxs@1,1/fp@0,0:devctl NOT CONNECTED
/devices/ssm@0,0/pci@19,600000/SUNW,emlxs@2/fp@0,0:devctl CONNECTED
/devices/ssm@0,0/pci@19,600000/SUNW,emlxs@2,1/fp@0,0:devctl NOT CONNECTED

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)
To find the dual-path in Solaris

bash-3.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.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,700000/SUNW,emlxs@1/fp@0,0/ssd@w50060e8004569372,0:c,raw
LUN path port WWN: 50060e8004569372
Host controller port WWN: 10000000c955c5d8
Path status: O.K.

/dev/rdsk/c3t50060E8004569362d0s2
/devices/ssm@0,0/pci@19,600000/SUNW,emlxs@2/fp@0,0/ssd@w50060e8004569362,0:c,raw
LUN path port WWN: 50060e8004569362
Host controller port WWN: 10000000c955c380
Path status: O.K.

To list all the available cards with details information

bash-3.00# fcinfo hba-port


HBA Port WWN: 10000000c955c380
OS Device Name: /dev/cfg/c3
Manufacturer: Emulex
Model: LP10000DC-S
Firmware Version: 1.92a1 (T2D1.92A1)
FCode/BIOS Version: Boot:5.01a9 Fcode:1.50a8
Serial Number: 0999BG0-06220000TP
Driver Name: emlxs
Driver Version: 2.31p (2008.12.11.10.30)
Type: N-port
State: online
Supported Speeds: 1Gb 2Gb
Current Speed: 2Gb
Node WWN: 20000000c955c380
HBA Port WWN: 10000000c955c381
OS Device Name: /dev/cfg/c6
Manufacturer: Emulex
Model: LP10000DC-S
Firmware Version: 1.92a1 (T2D1.92A1)
FCode/BIOS Version: Boot:5.01a9 Fcode:1.50a8
Serial Number: 0999BG0-06220000TP
Driver Name: emlxs
Driver Version: 2.31p (2008.12.11.10.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.92a1 (T2D1.92A1)
FCode/BIOS Version: Boot:5.01a9 Fcode:1.50a8
Serial Number: 0999BG0-06220000NC
Driver Name: emlxs
Driver Version: 2.31p (2008.12.11.10.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.92a1 (T2D1.92A1)
FCode/BIOS Version: Boot:5.01a9 Fcode:1.50a8
Serial Number: 0999BG0-06220000NC
Driver Name: emlxs
Driver Version: 2.31p (2008.12.11.10.30)
Type: unknown
State: offline
Supported Speeds: 1Gb 2Gb
Current Speed: not established
Node WWN: 20000000c955c5d7
Listing HBA 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.92a1 (T2D1.92A1)
FCode/BIOS Version: Boot:5.01a9 Fcode:1.50a8
Serial Number: 0999BG0-06220000TP
Driver Name: emlxs
Driver Version: 2.31p (2008.12.11.10.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 -p 10000000c955c380


Remote Port WWN: 50060e8004569362
Active FC4 Types: SCSI
SCSI Target: yes
Node WWN: 50060e8004569362

bash-3.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 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
Primitive Seq Protocol Error Count: 0
Invalid Tx Word Count: 0
Invalid CRC Count: 0

Listing all SCSI targets and link statistics

bash-3.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.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
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.00# prtconf -pvv | grep -i wwn


port_wwn: 10000000.c955c5d8
node_wwn: 20000000.c955c5d8
port_wwn: 10000000.c955c5d7
node_wwn: 20000000.c955c5d7
port_wwn: 10000000.c955c380
node_wwn: 20000000.c955c380
port_wwn: 10000000.c955c381
node_wwn: 20000000.c955c381

bash-3.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

You might also like