查看光纖卡類型
# lspci| grep Fibre
1、 NHB棟 光纖卡brocade
/sys/class/fc_host 查看光纖卡是否加載,若無,打驅動brocade_adapter_software_installer_linux_v2-3-0-3.bin (用圖形介面安裝 vnc
./ brocade_adapter_software_installer_linux_v2-3-0-3.bin)
2、 NHA棟 HP的光纖卡
/opt/hp/hp_fibreutils ./adapter_info
舉例:
[root@phamrdb1 host0]# lspci| grep Fibre
02:00.0 Fibre Channel: Emulex Corporation Zephyr LightPulse Fibre Channel Host Adapter (rev 02)
05:00.0 Fibre Channel: Emulex Corporation Zephyr LightPulse Fibre Channel Host Adapter (rev 02)
[root@phamrdb1 hp_fibreutils]# ./adapter_info
/sys/class/scsi_host/0: STATE=LINKUP WWNN=20000000c962ba45 WWPN=10000000c962ba45
/sys/class/scsi_host/1: STATE=LINKUP WWNN=20000000c9629ef4 WWPN=10000000c9629ef4
3、 QLogic卡安裝成功校驗:/proc/scsi/qla2xxx
SCSI Device Information:
scsi-qla0-adapter-node=2000001b3211802a;
scsi-qla0-adapter-port=2100001b3211802a;