|
楼主 |
发表于 2005-10-8 14:40:59
|
显示全部楼层
找到了一个在linux中查找WWN的方法
Post by aomin5555
我也想知道:)
suse2:/dev/scsi # cat /proc/scsi/qla2300/0 |more
QLogic PCI to Fibre Channel Host Adapter for QLA2340:
Firmware version: 3.03.01, Driver version 7.01.01
Entry address = c2600060
HBA: QLA2312 , Serial# R08794
Request Queue = 0x27b0000, Response Queue = 0x27a0000
Request Queue count= 512, Response Queue count= 512
Total number of active commands = 0
Total number of interrupts = 6289
Total number of IOCBs (used/max) = (0/600)
Total number of queued commands = 0
Device queue depth = 0x20
Number of free request entries = 376
Number of mailbox timeouts = 0
Number of ISP aborts = 0
Number of loop resyncs = 2
Number of retries for empty slots = 0
Number of reqs in pending_q= 0, retry_q= 0, done_q= 0, scsi_retry_q= 0
Host adapter:loop state= <DOWN>, flags= 0x860813
Dpc flags = 0x0
MBX flags = 0x0
SRB Free Count = 4096
Link down Timeout = 000
Port down retry = 045
Login retry count = 045
Commands retried with dropped frame(s) = 0
Configured characteristic impedence: 50 ohms
Configured data rate: 1-2 Gb/sec auto-negotiate
SCSI Device Information:----------这里就是链接HBA卡设备的WWN
scsi-qla0-adapter-node=200000e08b1afa12;
scsi-qla0-adapter-port=210000e08b1afa12;
scsi-qla0-target-0=50060168200312f7;
scsi-qla0-target-1=50060160200312f7;
scsi-qla0-target-2=50060e8000833aa0; |
|