平時(shí)在Linux下映射存儲(chǔ),都是映射哪臺(tái)就給哪臺(tái)插線熊镣,然后在存儲(chǔ)端掃描WWPN募书,簡(jiǎn)單粗暴测蹲,沒技術(shù)含量。當(dāng)然弛房,光交下也可以看而柑。
1,查看當(dāng)前卡的品牌媒咳,常用的卡有兩種,Emulex和Qlogic涩澡。
lspci |grep -i fibre
image
2,查看HBA卡的驅(qū)動(dòng)版本
emulex:
modinfo lpfc | grep version
qlogic:
modinfo qla2xxx | grep version
xxx是qlogic hba卡的型號(hào)
image
3射富,查看HBA卡的WWPN
more /sys/class/fc_host/host*/port_name
image
image
轉(zhuǎn)自:https://www.mr-mao.cn/archives/linux-find-hba-driver-version-wwpn.html