HP-UX下如何获取HBA光纤卡的WWN号

来源:互联网 发布:mac word 文字竖排 编辑:程序博客网 时间:2024/05/16 17:38

先用ioscan命令查看本机有几块HBA卡。
7620[/]#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号码

7620[/]#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卡连接光纤交换机的PWWN
            Switch Node World Wide Name = 0x1000080088a0ae1a #HBA卡连接光纤交换机的PWWN
                           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

7620[/]#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


原创粉丝点击