Check the current config of a Qlogic HBA easily by looking under proc. I was stumped on one system for a few minutes because I couldnt get to the .conf file or modinfo. All I really wanted to check at the time was that the driver version loaded on each host was the same. Then I was going to find SAN surfer to find more info… I guess you could get most of this info from dmesg | grep qla, or modinfo qla2xip or whatever. But this is one way I hadn’t noticed before!
$ cat /proc/scsi/qla2xxx/1
QLogic PCI to Fibre Channel Host Adapter for QLA2310:
Firmware version 3.03.19 IPX, Driver version 8.01.07.25-fo
BIOS version 0.00
ISP: ISP2300, Serial# C63319
Request Queue = 0×1e985000, Response Queue = 0×1e8f5000
Request Queue count = 4096, Response Queue count = 512
Total number of active commands = 0
Total number of interrupts = 529
Device queue depth = 0×20
Number of free request entries = 3548
Number of mailbox timeouts = 0
Number of ISP aborts = 0
Number of loop resyncs = 0
Number of retries for empty slots = 0
Number of reqs in pending_q= 0, retry_q= 0, done_q= 0, scsi_retry_q= 0
Number of reqs in failover_q= 0
Host adapter:loop state =, flags = 0xc0044000
Dpc flags = 0×4000000
MBX flags = 0×0
Link down Timeout = 000
Port down retry = 000
Login retry count = 008
Commands retried with dropped frame(s) = 0
Product ID = 4943 6030 3030 4001SCSI Device Information:
scsi-qla0-adapter-node=200000f01c049704;
scsi-qla0-adapter-port=200000f01c049704;
scsi-qla0-target-0=210000f023046757;
scsi-qla0-target-1=5055076757406e4c;FC Port Information:
scsi-qla0-port-0=300000f02c047838:200000f02c047838:610100:91;
scsi-qla0-port-1=300000f02c0496ff:200000f02c0496ff:610300:92;
scsi-qla0-port-2=300000f02c0496fe:200000f02c0496fe:610400:93;
scsi-qla0-port-3=300000d023046983:210000d023046983:610525:94;
scsi-qla0-port-4=6005076302006e4c:5005076302406e4c:610800:95;
scsi-qla0-port-5=300000e08b16b7f3:210000e08b16b7f3:610900:96;SCSI LUN Information:
(Id:Lun) * - indicates lun is not registered with the OS.
( 0: 0): Total reqs 37, Pending reqs 0, flags 0×2, Dflags 0×0, 0:0:74 00
( 0: 1): Total reqs 47, Pending reqs 0, flags 0×2, Dflags 0×0, 0:0:74 00
( 0: 2): Total reqs 201, Pending reqs 0, flags 0×2, Dflags 0×0, 0:0:74 00
( 0: 3): Total reqs 47, Pending reqs 0, flags 0×2, Dflags 0×0, 0:0:74 00
( 1: 0): Total reqs 27, Pending reqs 0, flags 0×0, Dflags 0×0, 0:0:75 01