zoukankan      html  css  js  c++  java
  • Linux下查看HBA卡的驱动版本和WWPN

    平时在Linux下映射存储,都是映射哪台就给哪台插线,然后在存储端扫描WWPN,简单粗暴,没技术含量。当然,光交下也可以看。

    1,查看当前卡的品牌,常用的卡有两种,Emulex和Qlogic。
    ---------------------------------------------
    lspci |grep -i fibre
    ---------------------------------------------


    2,查看HBA卡的驱动版本

    emulex:
    ---------------------------------------------
    modinfo lpfc | grep version
    ---------------------------------------------

    qlogic:
    ---------------------------------------------
    modinfo qla2xxx | grep version
    ---------------------------------------------
    xxx是qlogic hba卡的型号

     

    3,查看HBA卡的WWPN
    ---------------------------------------------
    more /sys/class/fc_host/host*/port_name
    ---------------------------------------------

    转自:https://www.mr-mao.cn/archives/linux-find-hba-driver-version-wwpn.html

  • 相关阅读:
    tablespaces
    转 房价
    Duplicate a whole line in Vim
    Dubbo+JStorm
    replace all
    ORACLE 最后表数据更新的时间
    list reverse
    python IDE
    string 方法
    java JIT AOT
  • 原文地址:https://www.cnblogs.com/pipci/p/12767927.html
Copyright © 2011-2022 走看看