问题现象:
光纤交换机配置正常,存储能认到ESXI主机的WWN号,存储映射也正常,但是ESXI无法认到存储,创建VMFS。ESXI上HBA显示也正常,能看到WWN号
问题判断:
可能和ESXI上HBA的驱动有关,检查vmware的兼容性列表,16GB的HBA设置成8GB后也不行。查看对应的ESXI版本和对应牌子的HBA的驱动兼容性
VMware兼容性查询网站
https://www.vmware.com/resources/compatibility/search.php?deviceCategory=io
重新安装驱动
- 查看HBA设备
通过SSH登录到esxi
[root@ESXI03:/tmp] esxcfg-scsidevs -a
vmhba0 lpfc link-up fc.20000090faa496b7:10000090faa496b7 (0000:95:00.0) Emulex Corporation Emulex LPe12000 8Gb PCIe Fibre Channel Adapter
vmhba1 lpfc link-up fc.20000090faa496bc:10000090faa496bc (0000:11:00.0) Emulex Corporation Emulex LPe12000 8Gb PCIe Fibre Channel Adapter
vmhba2 lsi_mr3 link-n/a sas.500605b00ac00080 (0000:07:00.0) Broadcom MegaRAID SAS Invader Controller - 查看HBA驱动版本
[root@ESXI03:/tmp] vmkload_mod -s lpfc |grep Version
Version: 12.8.351.29-1OEM.670.0.0.8169922 - 重新安装驱动
通过SCP或者TFTP工具上传下载好的驱动包到/tmp目录
[root@ESXI03:/tmp] ls -l
total 1224
-rw-r–r-- 1 root root 1241976 Sep 14 06:25 VMW-ESX-6.7.0-lpfc-11.4.341.0-8102018.zip - 解压驱动
[root@ESXI03:/tmp] unzip VMW-ESX-6.7.0-lpfc-11.4.341.0-8102018.zip
Archive: VMW-ESX-6.7.0-lpfc-11.4.341.0-8102018.zip
inflating: VMW-ESX-6.7.0-lpfc-11.4.341.0-offline_bundle-8102018.zip
inflating: lpfc-11.4.341.0-1OEM.670.0.0.7535516.x86_64.vib
inflating: doc/README.txt
inflating: doc/release_note_lpfc_11.4.341.0-1OEM.670.0.0.7535516.xml
[root@ESXI03:/tmp] ls -l
total 2432
-rw-r–r-- 1 root root 1241976 Sep 14 06:25 VMW-ESX-6.7.0-lpfc-11.4.341.0-8102018.zip
-rw-r–r-- 1 root root 609210 Sep 14 06:27 VMW-ESX-6.7.0-lpfc-11.4.341.0-offline_bundle-8102018.zip
drwxr-xr-x 1 root root 512 Sep 14 06:27 doc
-rw------- 1 root root 620748 Sep 14 06:27 lpfc-11.4.341.0-1OEM.670.0.0.7535516.x86_64.vib - 安装驱动,用完整的路径
[root@ESXI03:/tmp] esxcli software vib install -v /tmp/lpfc-11.4.341.0-1OEM.670.0.0.7535516.x86_64.vib
Installation Result
Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective.
Reboot Required: true
VIBs Installed: EMU_bootbank_lpfc_11.4.341.0-1OEM.670.0.0.7535516
VIBs Removed: EMU_bootbank_lpfc_12.8.351.29-1OEM.670.0.0.8169922
VIBs Skipped: - 重启ESXI主机生效,重启后通过第2步骤查看驱动版本