查看tape中driver对应server哪个光纤卡

[PROD root@#] ioscan -fnCtape
Class     I  H/W Path  Driver S/W State   H/W Type     Description
==================================================================
tape      7  0/0/0/9/0/0/1.13.12.255.0.0.0  stape   CLAIMED     DEVICE       HP      Ultrium 5-SCSI
                      /dev/rmt/7m             /dev/rmt/7mn            /dev/rmt/c38t0d0BEST    /dev/rmt/c38t0d0BESTn
                      /dev/rmt/7mb            /dev/rmt/7mnb           /dev/rmt/c38t0d0BESTb   /dev/rmt/c38t0d0BESTnb
tape      6  0/0/0/9/0/0/1.13.13.255.0.0.0  stape   CLAIMED     DEVICE       HP      Ultrium 5-SCSI
                      /dev/rmt/6m             /dev/rmt/6mn            /dev/rmt/c37t0d0BEST    /dev/rmt/c37t0d0BESTn
                      /dev/rmt/6mb            /dev/rmt/6mnb           /dev/rmt/c37t0d0BESTb   /dev/rmt/c37t0d0BESTnb
tape      0  0/0/0/28/0/0/0.128.16.2.0      stape   CLAIMED     DEVICE       HP      Ultrium 5-SCSI
                      /dev/rmt/0m            /dev/rmt/0mn           /dev/rmt/c4t2d0BEST    /dev/rmt/c4t2d0BESTn
                      /dev/rmt/0mb           /dev/rmt/0mnb          /dev/rmt/c4t2d0BESTb   /dev/rmt/c4t2d0BESTnb
tape      2  1/0/0/9/0/0/0.14.12.255.0.0.0  stape   CLAIMED     DEVICE       HP      Ultrium 5-SCSI
                      /dev/rmt/2m             /dev/rmt/2mn            /dev/rmt/c35t0d0BEST    /dev/rmt/c35t0d0BESTn
                      /dev/rmt/2mb            /dev/rmt/2mnb           /dev/rmt/c35t0d0BESTb   /dev/rmt/c35t0d0BESTnb
tape      4  1/0/0/9/0/0/0.14.13.255.0.0.0  stape   CLAIMED     DEVICE       HP      Ultrium 5-SCSI
                      /dev/rmt/4m             /dev/rmt/4mn            /dev/rmt/c36t0d0BEST    /dev/rmt/c36t0d0BESTn
                      /dev/rmt/4mb            /dev/rmt/4mnb           /dev/rmt/c36t0d0BESTb   /dev/rmt/c36t0d0BESTnb

创新互联建站坚持“要么做到,要么别承诺”的工作理念,服务领域包括:成都网站建设、网站设计、企业官网、英文网站、手机端网站、网站推广等服务,满足客户于互联网时代的市中网站设计、移动媒体设计的需求,帮助企业找到有效的互联网解决方案。努力成为您成熟可靠的网络建设合作伙伴!

[PROD root@#] ioscan -fnCfc
Class     I  H/W Path       Driver S/W State   H/W Type     Description
======================================================================
fc        0  0/0/0/3/0/0/2  fcoc   CLAIMED     INTERFACE    HP  10Gb PCIe 2-port Embedded FCoE Adapter
                           /dev/fcoc0
fc        1  0/0/0/3/0/0/3  fcoc   CLAIMED     INTERFACE    HP  10Gb PCIe 2-port Embedded FCoE Adapter
                           /dev/fcoc1
fc        2  0/0/0/4/0/0/2  fcoc   CLAIMED     INTERFACE    HP  10Gb PCIe 2-port Embedded FCoE Adapter
                           /dev/fcoc2
fc        3  0/0/0/4/0/0/3  fcoc   CLAIMED     INTERFACE    HP  10Gb PCIe 2-port Embedded FCoE Adapter
                           /dev/fcoc3
fc        4  0/0/0/7/0/0/0  fcd    CLAIMED     INTERFACE    HP 451871-B21 8Gb Dual Port PCIe Fibre Channel Mezzanine (FC Port 1)
                           /dev/fcd4
fc        5  0/0/0/7/0/0/1  fcd    CLAIMED     INTERFACE    HP 451871-B21 8Gb Dual Port PCIe Fibre Channel Mezzanine (FC Port 2)
                           /dev/fcd5
fc        6  0/0/0/9/0/0/0  fcd    CLAIMED     INTERFACE    HP 451871-B21 8Gb Dual Port PCIe Fibre Channel Mezzanine (FC Port 1)
                           /dev/fcd6
fc        7  0/0/0/9/0/0/1  fcd    CLAIMED     INTERFACE    HP 451871-B21 8Gb Dual Port PCIe Fibre Channel Mezzanine (FC Port 2)
                           /dev/fcd7
fc        8  1/0/0/3/0/0/2  fcoc   CLAIMED     INTERFACE    HP  10Gb PCIe 2-port Embedded FCoE Adapter
                           /dev/fcoc8
fc        9  1/0/0/3/0/0/3  fcoc   CLAIMED     INTERFACE    HP  10Gb PCIe 2-port Embedded FCoE Adapter
                           /dev/fcoc9
fc       10  1/0/0/4/0/0/2  fcoc   CLAIMED     INTERFACE    HP  10Gb PCIe 2-port Embedded FCoE Adapter
                           /dev/fcoc10
fc       11  1/0/0/4/0/0/3  fcoc   CLAIMED     INTERFACE    HP  10Gb PCIe 2-port Embedded FCoE Adapter
                           /dev/fcoc11
fc       12  1/0/0/7/0/0/0  fcd    CLAIMED     INTERFACE    HP 451871-B21 8Gb Dual Port PCIe Fibre Channel Mezzanine (FC Port 1)
                           /dev/fcd12
fc       13  1/0/0/7/0/0/1  fcd    CLAIMED     INTERFACE    HP 451871-B21 8Gb Dual Port PCIe Fibre Channel Mezzanine (FC Port 2)
                           /dev/fcd13
fc       14  1/0/0/9/0/0/0  fcd    CLAIMED     INTERFACE    HP 451871-B21 8Gb Dual Port PCIe Fibre Channel Mezzanine (FC Port 1)
                           /dev/fcd14
fc       15  1/0/0/9/0/0/1  fcd    CLAIMED     INTERFACE    HP 451871-B21 8Gb Dual Port PCIe Fibre Channel Mezzanine (FC Port 2)
                           /dev/fcd15

#####以上tape中H/W Path与fc中H/W Path对应关系:

0/0/0/9/0/0/1.13.12.255.0.0.0  ----------------> 0/0/0/9/0/0/1   /dev/fcd7

0/0/0/9/0/0/1.13.13.255.0.0.0  ----------------> 0/0/0/9/0/0/1   /dev/fcd7

1/0/0/9/0/0/0.14.12.255.0.0.0  ----------------> 1/0/0/9/0/0/0   /dev/fcd14

1/0/0/9/0/0/0.14.13.255.0.0.0  ----------------> 1/0/0/9/0/0/0   /dev/fcd14
 

#####光纤卡详细信息:

[PROD root@#] fcmsutil /dev/fcd7

                           Vendor ID is = 0x1077
                           Device ID is = 0x2532
            PCI Sub-system Vendor ID is = 0x103C
                   PCI Sub-system ID is = 0x3261
                               PCI Mode = PCI Express x4
                       ISP Code version = 5.6.7
                       ISP Chip version = 2
                               Topology = PTTOPT_FABRIC
                             Link Speed = 8Gb
                     Local N_Port_id is = 0x1d0c00
                  Previous N_Port_id is = None
            N_Port Node World Wide Name = 0x5001438026663b47
            N_Port Port World Wide Name = 0x5001438026663b46
            Switch Port World Wide Name = 0x200c50eb1a6eaf7b
            Switch Node World Wide Name = 0x100050eb1a6eaf7b
              N_Port Symbolic Port Name = zmosdbdr_fcd7
              N_Port Symbolic Node Name = zmosdbdr_HP-UX_B.11.31
                           Driver state = ONLINE
                       Hardware Path is = 0/0/0/9/0/0/1
                     Maximum Frame Size = 2048
         Driver-Firmware Dump Available = NO
         Driver-Firmware Dump Timestamp = N/A
                                   TYPE = PFC
                         NPIV Supported = YES
                         Driver Version = @(#) fcd B.11.31.1603 Dec  3 2015


[PROD root@#] fcmsutil /dev/fcd14

                           Vendor ID is = 0x1077
                           Device ID is = 0x2532
            PCI Sub-system Vendor ID is = 0x103C
                   PCI Sub-system ID is = 0x3261
                               PCI Mode = PCI Express x4
                       ISP Code version = 5.6.7
                       ISP Chip version = 2
                               Topology = PTTOPT_FABRIC
                             Link Speed = 8Gb
                     Local N_Port_id is = 0x1b0d00
                  Previous N_Port_id is = None
            N_Port Node World Wide Name = 0x5001438026663a41
            N_Port Port World Wide Name = 0x5001438026663a40
            Switch Port World Wide Name = 0x200d50eb1a787d55
            Switch Node World Wide Name = 0x100050eb1a787d55
              N_Port Symbolic Port Name = zmosdbdr_fcd14
              N_Port Symbolic Node Name = zmosdbdr_HP-UX_B.11.31
                           Driver state = ONLINE
                       Hardware Path is = 1/0/0/9/0/0/0
                     Maximum Frame Size = 2048
         Driver-Firmware Dump Available = NO
         Driver-Firmware Dump Timestamp = N/A
                                   TYPE = PFC
                         NPIV Supported = YES
                         Driver Version = @(#) fcd B.11.31.1603 Dec  3 2015


当前文章:查看tape中driver对应server哪个光纤卡
地址分享:http://hbruida.cn/article/jgdejg.html