How To Find Fiber Host Bus Adapter (Fiber HBA) WWN On Solaris UNIX

Here are some useful commands for the most popular Linux/Unix operating systems to find your HBA WWN. For brevity sake I am dividing this into a number of posts. Previously it was Linux. This time it is Solaris Unix.

Useful stuff I hope, at least to me, because while we all love fiber storage, before it can even get presented to your server your Storage Admin needs to know your server’s HBA’s WWN (whether you are using a fiber switch or plugging directly). So here we go!

Solaris Clipart


Oh, and because of strange google search results, you might have come here looking to find info on getting HBA WWN info on a different OS than what is featured here. So a quick run down of what I have available:

Okay onward!!

SOLARIS: Finding Fiber HBA WWN

Two commands you can use (in case one is not available)


Sponsored Links





Sponsored Links





fcinfo hba-port
prtpicl -v -c scsi-fcp

Here is sample output (I have two HBAs installed)


# fcinfo hba-port
HBA Port WWN: 210000e08b91ab98
OS Device Name: /dev/cfg/c4
Manufacturer: QLogic Corp.
Model: 375-3294-01
Firmware Version: 4.2.2
FCode/BIOS Version: BIOS: 1.4; fcode: 1.11; EFI: 1.0;
Type: N-port
State: online
Supported Speeds: 1Gb 2Gb 4Gb
Current Speed: 4Gb
Node WWN: 200000e08b91ab98
HBA Port WWN: 210100e08bb1ab98
OS Device Name: /dev/cfg/c5
Manufacturer: QLogic Corp.
Model: 375-3294-01
Firmware Version: 4.2.2
FCode/BIOS Version: BIOS: 1.4; fcode: 1.11; EFI: 1.0;
Type: N-port
State: online
Supported Speeds: 1Gb 2Gb 4Gb
Current Speed: 4Gb
Node WWN: 200100e08bb1ab98
#

# prtpicl -v -c scsi-fcp
SUNW,qlc (scsi-fcp, 8600000614)
:_fru_parent (8600000d18H)
...
...
:node-wwn 20 00 00 e0 8b 91 ab 98
:port-wwn 21 00 00 e0 8b 91 ab 98
:model QLA2462
:manufacturer QLGC
:version QLA2462 Host Adapter Driver(SPARC): 1.11 10/03/05
...
...
:devfs-path /pci@1f,700000/pci@0,2/SUNW,qlc@1
:driver-name qlc
:binding-name pci1077,2422
...
...
:node-wwn 20 01 00 e0 8b b1 ab 98
:port-wwn 21 01 00 e0 8b b1 ab 98
:model QLA2462
:manufacturer QLGC
:version QLA2462 Host Adapter Driver(SPARC): 1.11 10/03/05
...
...
:devfs-path /pci@1f,700000/pci@0,2/SUNW,qlc@1,1
:driver-name qlc
:binding-name pci1077,2422
...
...
#

Other Useful Commands


Sponsored Links

And just for a bonus, other useful Solaris commands for machine discovery

grep [string] /var/sadm/install/contents : similar to “locate” on linux, this is a list of everything installed by package manager)

prtconf -V : machine discovery

prtconf -v : machine discovery

prstat similar to “top”

psrinfo : machine discovery

showrev -p : patches

pkginfo : software packages

prtdiag : more machine discovery

THAT’S ALL FOLKS!!! Ciao!!

, , , , , Unix

Leave a Comment

Your email address will not be published. Required fields are marked *

Spam protection by WP Captcha-Free