Operating System - Linux
1833758 Members
3042 Online
110063 Solutions
New Discussion

Re: to find HBA Model,Current HBA Driver / Firmware,Multipath Enabled, Current Multipath S/W Version

 
fizan
Super Advisor

to find HBA Model,Current HBA Driver / Firmware,Multipath Enabled, Current Multipath S/W Version

48:00.0 Fibre Channel: QLogic Corp. ISP2432-based 4Gb Fibre Channel to PCI Express HBA (rev 02)
Subsystem: Hewlett-Packard Company Unknown device 1705
Flags: bus master, fast devsel, latency 0, IRQ 177
I/O ports at 4000 [size=256]
Memory at fdef0000 (64-bit, non-prefetchable) [size=16K]
[virtual] Expansion ROM at 88300000 [disabled] [size=256K]
Capabilities: [44] Power Management version 2
Capabilities: [4c] Express Endpoint IRQ 0
Capabilities: [64] Message Signalled Interrupts: 64bit+ Queue=0/4 Enable-
Capabilities: [74] Vital Product Data
Capabilities: [7c] MSI-X: Enable- Mask- TabSize=16
Capabilities: [100] Advanced Error Reporting
Capabilities: [138] Power Budgeting

48:00.1 Fibre Channel: QLogic Corp. ISP2432-based 4Gb Fibre Channel to PCI Express HBA (rev 02)
Subsystem: Hewlett-Packard Company Unknown device 1705
Flags: bus master, fast devsel, latency 0, IRQ 169
I/O ports at 4400 [size=256]
Memory at fdee0000 (64-bit, non-prefetchable) [size=16K]
[virtual] Expansion ROM at 88340000 [disabled] [size=256K]
Capabilities: [44] Power Management version 2
Capabilities: [4c] Express Endpoint IRQ 0
Capabilities: [64] Message Signalled Interrupts: 64bit+ Queue=0/4 Enable-
Capabilities: [74] Vital Product Data
Capabilities: [7c] MSI-X: Enable- Mask- TabSize=16
Capabilities: [100] Advanced Error Reporting
Capabilities: [138] Power Budgeting

in linux
Linux 2.6.18-128.1.6.el5 #1 SMP Tue Mar 24 12:10:27 EDT 2009 i686 athlon i386 GNU/Linux

HBA Model,Current HBA Driver / Firmware,Multipath Enabled, Current Multipath S/W Version????

Thanks
2 REPLIES 2
Matti_Kurkela
Honored Contributor

Re: to find HBA Model,Current HBA Driver / Firmware,Multipath Enabled, Current Multipath S/W Version

First, look into /sys/class/fc_host directory.

You'll find one sub-directory for each FC card you have, e.g. "host0" and "host1". In that directory is a file named "symbolic_name". View that file.

Example:

$ cat /sys/class/fc_host/host0/symbolic_name
QMH2462 FW:v4.04.09 DVR:v8.03.00.1.05.05-k

In this example, QMH2462 is the card model, v4.04.09 is the firmware version, and v8.03.00.1.05.05-k is the driver version.

More information is available in the corresponding scsi_host branch of the sysfs: if the directory name in /sys/class/fc_host was "host0", look into /sys/class/scsi_host/host0 too.

There are several possible multipath solutions. Before you can find the version of the multipath software, you must first identify the multipath solution type.

Multipath solutions:

A) multipath integrated to the HP-supplied QLogic driver:

Run "modinfo qla2xxx | grep ql2xfailover". If this word is found, you're using a QLogic driver that can support multipath failover internally. In this case, look into /etc/modprobe.conf: if option "ql2xfailover=1" is defined for your HBA(s), the driver's internal multipath solution is enabled, and multipath software version = driver version.

B) device-mapper multipath (recommended by RedHat, available in standard RHEL distribution as an optional package):

Run "multipath -l".
If this command lists any multipath devices, you're using device-mapper multipath.
To find its version, run "rpm -q device-mapper-multipath".

C) storage manufacturer's multipath software:
This depends on which multipath software you're running. For example, EMC PowerPath on Linux can be identified by noting that the disk devices (e.g. in /etc/fstab) are named like /dev/emcpower[a-z]*. In this case, see the manual of the appropriate multipath software to find out how to identify its version.

MK
MK
Tim Nelson
Honored Contributor

Re: to find HBA Model,Current HBA Driver / Firmware,Multipath Enabled, Current Multipath S/W Version

and / or use the qlogic linux-tools-utilities.

ql-hba-snapshot.sh