Posts Tagged hba
Solaris HBA information
Posted by Lincoln Zuljewic Silva in Solaris on April 26, 2011
On a Solaris system, you can use the command fcinfo to get HBA related information:
# fcinfo hba-port
HBA Port WWN: 210000144fe71480
OS Device Name: /dev/cfg/c1
Manufacturer: QLogic Corp.
Model: 2200
Type: L-port
State: online
Supported Speeds: 1Gb
Current Speed: 1Gb
Node WWN: 200000144fe71480
HBA Port WWN: 10000000c950c6a2
OS Device Name: /dev/cfg/c5
Manufacturer: Emulex
Model: LP10000-S
Type: N-port
State: online
Supported Speeds: 1Gb 2Gb
Current Speed: 2Gb
Node WWN: 20000000c950c6a2
HBA Port WWN: 10000000c950c6b7
OS Device Name: /dev/cfg/c4
Manufacturer: Emulex
Model: LP10000-S
Type: N-port
State: online
Supported Speeds: 1Gb 2Gb
Current Speed: 2Gb
Node WWN: 20000000c950c6b7
In the example above, you can see that the server has three HBAs (one QLogic and two Emulex).
How to check HBA card settings in HP-UX
Posted by Lincoln Zuljewic Silva in HP-UX on September 23, 2010
First of all, you need if the device exists:
myserver@root:/root # ioscan -fnC fc
Class I H/W Path Driver S/W State H/W Type Description
===================================================================
fc 1 0/0/4/1/0 fcd CLAIMED INTERFACE HP AB378-60101 4Gb Single Port PCI/PCI-X Fibre Channel Adapter (FC Port 1)
/dev/fcd1
fc 2 0/0/10/1/0 fcd CLAIMED INTERFACE HP AB378-60101 4Gb Single Port PCI/PCI-X Fibre Channel Adapter (FC Port 1)
/dev/fcd2
fc 3 0/0/12/1/0 fcd CLAIMED INTERFACE HP AB378-60101 4Gb Single Port PCI/PCI-X Fibre Channel Adapter (FC Port 1)
/dev/fcd3
fc 0 0/0/13/1/0 fcd CLAIMED INTERFACE HP AB378-60101 4Gb Single Port PCI/PCI-X Fibre Channel Adapter (FC Port 1)
/dev/fcd0
Now, you can check the settings:
myserver@root:/root # fcmsutil /dev/fcd1
Vendor ID is = 0x001077
Device ID is = 0x002422
PCI Sub-system Vendor ID is = 0x00103c
PCI Sub-system ID is = 0x0012d6
PCI Mode = PCI-X 133 MHz
ISP Code version = 4.0.22
ISP Chip version = 3
Topology = PTTOPT_FABRIC
Link Speed = 4Gb
Local N_Port_id is = 0x020300
Previous N_Port_id is = None
N_Port Node World Wide Name = 0x5001438002fdf7c3
N_Port Port World Wide Name = 0x5001438002fdf7c2
Switch Port World Wide Name = 0x200300051e365dca
Switch Node World Wide Name = 0x100000051e365dca
Driver state = ONLINE
Hardware Path is = 0/0/4/1/0
Maximum Frame Size = 2048
Driver-Firmware Dump Available = NO
Driver-Firmware Dump Timestamp = N/A
Driver Version = @(#) libfcd.a HP Fibre Channel ISP 23xx & 24xx Driver B.11.23.06 /ux/core/isu/FCD/kern/src/common/wsio/fcd_init.c:Jun 23 2006,14:06:46