Posts Tagged ‘Find Fiber Host Bus Adapter (Fiber HBA) WWN On Solaris UNIX’

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

May 31st, 2016, posted in Solaris
Share

SOLARIS: Finding Fiber HBA WWN

 

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

Share