华为服务器光纤卡wwn信息,HP-UX下如何获取HBA光纤卡的WWN号?

先用ioscan命令查看本机有几块HBA卡。

riskdb[/]#ioscan -fnC fc

Class     I  H/W Path    Driver S/W State   H/W Type     Description

===================================================================

fc        2  0/0/2/1/0   fcd  CLAIMED     INTERFACE    HP AB378-60101 4Gb Single Port PCI/PCI-X Fibre Channel Adapter (FC Port 1)

/dev/fcd2

fc        3  0/0/4/1/0   fcd  CLAIMED     INTERFACE    HP AB378-60101 4Gb Single Port PCI/PCI-X Fibre Channel Adapter (FC Port 1)

/dev/fcd3

fc        0  0/0/12/1/0  td   CLAIMED     INTERFACE    HP Tachyon XL2 Fibre Channel Mass Storage Adapter

/dev/td0

用fcmsutil显示WWN号码

riskdb[/]#fcmsutil /dev/fcd2

Vendor ID is = 0x001077

Device ID is = 0x002422

PCI Sub-system Vendor ID is = 0x00103c

PCI Sub-system ID is = 0x0012d6

PCI Mode = PCI-X 133 MHz

ISP Code version = 4.0.22

ISP Chip version = 3

Topology = PTTOPT_FABRIC

Link Speed = 2Gb

Local N_Port_id is = 0x621213

Previous N_Port_id is = None

N_Port Node World Wide Name = 0x500143800131155b  #本机HAB卡的WWNN

N_Port Port World Wide Name = 0x500143800131155a    #本机HBA卡的WWPN

Switch Port World Wide Name = 0x2012080088a0ae1a   #HBA卡连接光纤交换机的WWPN

Switch Node World Wide Name = 0x1000080088a0ae1a #HBA卡连接光纤交换机的WWNN                           Driver state = ONLINE

Hardware Path is = 0/0/2/1/0

Maximum Frame. Size = 2048

Driver-Firmware Dump Available = NO

Driver-Firmware Dump Timestamp = N/A

Driver Version = @(#) libfcd.a HP Fibre Channel ISP 23xx & 24xx Driver B.11.23.06 /ux/core/isu/FCD/kern/src/common/wsio/fcd_init.c:Jun 23 2006,14:05:23

riskdb[/]#fcmsutil /dev/td0

Vendor ID is = 0x00103c

Device ID is = 0x001029

XL2 Chip Revision No is = 2.3

PCI Sub-system Vendor ID is = 0x00103c

PCI Sub-system ID is = 0x00128c

Previous Topology = UNINITIALIZED

Link Speed = UNINITIALIZED

Local N_Port_id is = 0x000000

Local Loop_id is = 126

N_Port Node World Wide Name = 0x50060b0000bdb7c5

N_Port Port World Wide Name = 0x50060b0000bdb7c4                           Driver state = AWAITING_LINK_UP

Hardware Path is = 0/0/12/1/0

Number of Assisted IOs = 0

Number of Active Login Sessions = 0

Dino Present on Card = NO

Maximum Frame. Size = 2048

Driver Version = @(#) libtd.a HP Fibre Channel Tachyon XL2 Driver B.11.23.0512 $Date: 2005/09/20 12:22:47 $Revision: r11.23/1

http://blog.itpub.net/14136300/viewspace-659626/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值