LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 3105|回复: 2

如何在linux中查找WWN?

[复制链接]
发表于 2004-12-27 18:11:45 | 显示全部楼层 |阅读模式
在Unix中查找WWN的命令如下:
bl2k2 #prtconf -vp |grep wwn
            port-wwn:  21000003.ba360fb5
            node-wwn:  21000003.ba360fb5
            port-wwn:  210000e0.8b0c8319
            node-wwn:  200000e0.8b0c8319

请问在linux中如何查找World Wide Name (WWN)呢?
发表于 2005-6-15 18:55:55 | 显示全部楼层
我也想知道:)
回复 支持 反对

使用道具 举报

 楼主| 发表于 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;
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表