为理想而奋斗zhshujun.blog.chinaunix.net
zhshujun
全部博文(346)
vi(1)
perl(0)
asm(2)
ocfs2(4)
rac(17)
informix(2)
trouble(1)
sybase(0)
RMAN(16)
MS-sql(0)
DB2(3)
Oracle(5)
BESR(1)
错误处理(7)
RE(1)
VVR(2)
SF(2)
CCS(1)
EV(2)
VxVM(8)
BE(12)
NBU(30)
VCS(10)
SAP(0)
Powershell(2)
ha(0)
drs(0)
vc(0)
vsphere(2)
高手的blog(2)
hyper-v(1)
citrix(1)
vmware(33)
Exchange(1)
lotus notes(3)
MVM(0)
ePO(5)
McAfee(3)
Other(9)
sep(1)
ubuntu(1)
iscsi(3)
centos(1)
Suse(1)
Redhat(5)
link(1)
FreeBSD(0)
HP-UX(4)
Solaris(17)
Aix(7)
IBM带库(0)
Quantum(1)
Brocade(0)
cisco(0)
xiv(0)
ds5000(0)
ds4000(0)
ds3000(4)
CX系列(2)
data ontap(3)
HP存储(0)
IBM存储(7)
HDS(2)
NetApp(10)
EMC(1)
autostart(0)
networker(4)
2012年(1)
2011年(102)
2010年(116)
2009年(127)
xiangyin
hxl
gzjieyin
ailin351
mfkqwyc8
zwb12345
10831586
sheleter
开心一刻
分类: LINUX
2009-07-05 23:32:40
Linux 在系统日志文件中记载加载模块和驱动程序过程中提供了这样的信息,该文件通常放在 /var/log/messages中。每过一段时间,会生成一个新的日志文件messages,旧的文件就会被改名成messages.#,其中 # 是一个增加的编号。
以root登录,并查看系统日志文件中包含最后服务器启动时的信息,用以下的命令:less /var/log/messages
查找最后系统启动和对光纤卡初始化信息。对每个卡,你将看到启动的过程,当卡被打开时,将会显示 WWN 信息:
Mar 5 10:32:25 kernel: (scsi): Found a QLA2200 @ bus 10,device 8, irq 23, iobase 0xb000Mar 5 10:32:25 kernel: scsi(2): Configure NVRAM parameters...Mar 5 10:32:25 kernel: scsi(2): Verifying loaded RISC code...Mar 5 10:32:25 kernel: scsi(2): Verifying chip...Mar 5 10:32:25 kernel: scsi(2): LIP reset occurredMar 5 10:32:25 kernel: scsi(2): LIP occurred.Mar 5 10:32:25 kernel: scsi(2): Waiting for LIP to complete...Mar 5 10:32:25 kernel: scsi(2): LOOP UP detectedMar 5 10:32:25 kernel: scsi(2): Waiting for LIP to complete...Mar 5 10:32:25 kernel: scsi2: Topology - (Loop), Host Loop address 0x0Mar 5 10:32:25 kernel: scsi-qla0-adapter-node=0000000000000000;Mar 5 10:32:25 kernel: scsi-qla0-adapter-port=210000e08b027386;Mar 5 10:32:25 kernel: scsi-qla0-target-0=200500a0b80b1223;Mar 5 10:32:25 kernel: (scsi): Found a QLA2200 @ bus 10, device 9, irq 24, iobase 0xb100Mar 5 10:32:25 kernel: scsi(3): Configure NVRAM parameters...Mar 5 10:32:25 kernel: scsi(3): Verifying loaded RISC code...Mar 5 10:32:25 kernel: scsi(3): Verifying chip...Mar 5 10:32:25 kernel: scsi(3): Waiting for LIP to complete...Mar 5 10:32:25 kernel: scsi(3): LIP reset occurredMar 5 10:32:25 kernel: scsi(3): LIP occurred.Mar 5 10:32:25 kernel: scsi(3): LOOP UP detectedMar 5 10:32:25 kernel: scsi(3): Waiting for LIP to complete...Mar 5 10:32:25 kernel: scsi3: Topology - (Loop), Host Loop address 0x1Mar 5 10:32:25 kernel: scsi-qla1-adapter-node=0000000000000000;Mar 5 10:32:25 kernel: scsi-qla1-adapter-port=210000e08b027286;Mar 5 10:32:25 kernel: scsi-qla1-target-0=200400a0b80b1223;
可以看到在 scsi-qla?-adapter-port 行中的等号后就是该卡的 WWN.
上一篇:Veritas Volume Manager(VxVM)-vxassist命令手册
下一篇:如何在HP-UX查询上光纤卡的WWN?
登录 注册