如何获得QLogic 2200或2300的HBA卡的信息?
解决方法:
为了得到Qlogic的HBA卡的信息,可以用以下命令:
cat /proc/scsi/qla2x00/<num>
这里<num>是Qlogic卡的编号,qla2x00可能是qla2200或qla2300。
QLogic PCI to Fibre Channel Host Adapter for ISP2100/ISP2200/ISP2300:
Firmware version: 3.01.11, Driver version 4.47.16
Entry Address = e0848060
Request Queue = 0x1fdc0000, Response Queue = 0x1fdb8000
Request Queue count= 256, Response Queue count= 256
Number of pending commands = 0x0
Number of queued commands = 0x0
Number of free request entries = 22
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 retry_q = 0
Number of reqs in done_q = 0
Current req ring index= 225
Host adapter: loop state= , flags= 0x2060001
DPC flags= 0x0
Current timer= 0x3b9d
Loop down timer= 0
SRB free count= 4096
SCSI Device Information: scsi-qla0-adapter-node=200000e08b079db0; scsi-qla0-adapter-port=210000e08b079db0; scsi-qla0-target-0=500601602006e085; scsi-qla0-target-1=2002006045170495; SCSI LUN Information: (Id:Lun) ( 0: 0): Total reqs 686, Pending reqs 0, Queued reqs 0, flags 0x0, tflags 0, ( 0: 2): Total reqs 47, Pending reqs 0, Queued reqs 0, flags 0x0, tflags 0,
这个输出包含关于Qlogic的有用信息,例如驱动版本,卡的WWW名。