How to identify fibre channel HBA working or not
844702Feb 16 2013 — edited Mar 6 2013Hi,
I dont know how to identify FC hba card and port. I cant access the box because it is in a remote location.
My customer is saying there is 3 hba cards and one is showing disconnected. I see three types of cards in path_to_inst file and luxadm -e port command.
I cant understand the connection between the controller which showing in the cfgadm command and hba device.
/devices/ssm@0,0/pci@1d,600000/QLGC,qla@1/fp@0,0:devctl showing disconnected what does it mean?
So Please help me to find answers of these questions.
1) how many physical FC HBA cards are in this server.
2) How many FC Ports are in this server
3) Why controller C4 showing un configured.
4) why /devices/ssm@0,0/pci@1d,600000/QLGC,qla@1/fp@0,0:devctl showing disconnected
logs :-
bash-3.00# fcinfo hba
fcinfo: invalid object
Usage: fcinfo [-?] <OBJECT> [-?] [<OPERAND>]
Usage by OBJECT:
fcinfo hba-port [OPTIONS] [<WWN ...>]
fcinfo remote-port <OPTIONS> [<WWN ...>]
For more information, please see fcinfo(1M)
bash-3.00# fcinfo hba-port
HBA Port WWN: 10000000c93aa32d
OS Device Name: /dev/cfg/c2
Manufacturer: Emulex
Model: LP9002L
Firmware Version: 3.90a7 (C2D3.90A7)
FCode/BIOS Version: Boot:3.20 Fcode:1.40a0
Serial Number: BG40340370
Driver Name: emlxs
Driver Version: 2.50o (2010.01.08.09.45)
Type: N-port
State: online
Supported Speeds: 1Gb 2Gb
Current Speed: 2Gb
Node WWN: 20000000c93aa32d
HBA Port WWN: 10000000c93ae1be
OS Device Name: /dev/cfg/c7
Manufacturer: Emulex
Model: LP9002L
Firmware Version: 3.92a3 (C2D3.92A3)
FCode/BIOS Version: Boot:3.20 Fcode:none
Serial Number: BG40855848
Driver Name: emlxs
Driver Version: 2.50o (2010.01.08.09.45)
Type: N-port
State: online
Supported Speeds: 1Gb 2Gb
Current Speed: 2Gb
Node WWN: 20000000c93ae1be
HBA Port WWN: 210000e08b08c5c1
OS Device Name: /dev/cfg/c4
Manufacturer: QLogic Corp.
Model: QLA2200
Firmware Version: 02.01.145
FCode/BIOS Version: fcode: 0.00;
Serial Number: not available
Driver Name: qlc
Driver Version: 20090929-2.32
Type: unknown
State: offline
Supported Speeds: 1Gb
Current Speed: not established
Node WWN: 200000e08b08c5c1
bash-3.00#
bash-3.00# cat /etc/path_to_inst | grep -i fp
"/ssm@0,0/pci@19,600000/lpfc@1/fp@0,0" 3 "fp"
"/ssm@0,0/pci@19,600000/lpfc@1/fp@0,0/ssd@w5001738001900142,1" 0 "ssd"
"/ssm@0,0/pci@19,600000/lpfc@1/fp@0,0/ssd@w5001738001900142,2" 2 "ssd"
"/ssm@0,0/pci@19,600000/lpfc@1/fp@0,0/ssd@w5001738001900160,1" 3 "ssd"
"/ssm@0,0/pci@19,600000/lpfc@1/fp@0,0/ssd@w5001738001900190,1" 4 "ssd"
"/ssm@0,0/pci@19,600000/lpfc@1/fp@1,0" 4 "fp"
"/ssm@0,0/pci@1b,600000/lpfc@1/fp@0,0" 1 "fp"
"/ssm@0,0/pci@1b,600000/lpfc@1/fp@0,0/ssd@w5001738001900170,1" 1 "ssd"
"/ssm@0,0/pci@1b,600000/lpfc@1/fp@1,0" 2 "fp"
"/ssm@0,0/pci@1d,600000/QLGC,qla@1/fp@0,0" 5 "fp"
"/ssm@0,0/pci@1f,600000/QLGC,qla@1/fp@0,0" 0 "fp"
"/ssm@0,0/pci@1f,600000/fibre-channel@1/fp@0,0" 6 "fp"
"/ssm@0,0/pci@1f,600000/fibre-channel@1/fp@1,0" 7 "fp"
bash-3.00# cfgadm -al | grep -i fc
c2 fc-fabric connected configured unknown
c4 fc connected unconfigured unknown
c7 fc-fabric connected configured unknown
bash-3.00# luxadm -e port
/devices/ssm@0,0/pci@19,600000/lpfc@1/fp@0,0:devctl CONNECTED
/devices/ssm@0,0/pci@1f,600000/fibre-channel@1/fp@0,0:devctl CONNECTED
/devices/ssm@0,0/pci@1d,600000/QLGC,qla@1/fp@0,0:devctl NOT CONNECTED
bash-3.00#
bash-3.00#
bash-3.00#
bash-3.00#
bash-3.00# cfgadm -alv | grep -i fc
unavailable fc-fabric n /devices/ssm@0,0/pci@19,600000/lpfc@1/fp@0,0:fc
unavailable array-ctrl n /devices/ssm@0,0/pci@19,600000/lpfc@1/fp@0,0:fc::5001738001900142
unavailable fc n /devices/ssm@0,0/pci@1d,600000/QLGC,qla@1/fp@0,0:fc
unavailable fc-fabric n /devices/ssm@0,0/pci@1f,600000/fibre-channel@1/fp@0,0:fc
unavailable array-ctrl n /devices/ssm@0,0/pci@1f,600000/fibre-channel@1/fp@0,0:fc::5001738001900160
unavailable array-ctrl n /devices/ssm@0,0/pci@1f,600000/fibre-channel@1/fp@0,0:fc::5001738001900190
bash-3.00#