vmware esxi 查看网卡、Raid卡驱动
vmware esxi 查看网卡、Raid卡驱动
http://blog.51cto.com/adamcrab/1942763
查看网卡
1 2 3 4 5 6 7 8 9 10 | [root@localhost:~] esxcfg-nics -l Name PCI Driver Link Speed Duplex MAC Address MTU Description vmnic0 0000:01:00.0 igb Up 1000Mbps Full e0:4f:43:07:28:44 1500 Intel Corporation I350 Gigabit Network Connection vmnic1 0000:01:00.1 igb Down 0Mbps Half e0:4f:43:07:28:45 1500 Intel Corporation I350 Gigabit Network Connection vmnic2 0000:01:00.2 igb Down 0Mbps Half e0:4f:43:07:28:46 1500 Intel Corporation I350 Gigabit Network Connection vmnic3 0000:01:00.3 igb Down 0Mbps Half e0:4f:43:07:28:47 1500 Intel Corporation I350 Gigabit Network Connection vmnic4 0000:81:00.0 bnx2x Down 0Mbps Half 00:0e:1e:4c:ca:40 1500 QLogic Corporation NetXtreme II BCM57810 10 Gigabit Ethernet vmnic5 0000:81:00.1 bnx2x Up 10000Mbps Full 00:0e:1e:4c:ca:42 1500 QLogic Corporation NetXtreme II BCM57810 10 Gigabit Ethernet vmnic6 0000:11:00.0 bnx2x Down 0Mbps Half 00:0e:1e:47:9d:90 1500 QLogic Corporation NetXtreme II BCM57810 10 Gigabit Ethernet vmnic7 0000:11:00.1 bnx2x Up 10000Mbps Full 00:0e:1e:47:9d:92 1500 QLogic Corporation NetXtreme II BCM57810 10 Gigabit Ethernet |
查看网卡驱动
1 2 3 4 5 6 7 8 9 10 | [root@localhost:~] ethtool -i vmnic0 driver: igb version: 5.0.5.1 firmware-version: 1.63, 0x80000dbd bus-info: 0000:01:00.0 [root@localhost:~] ethtool -i vmnic7 driver: bnx2x version: 1.78.80.v60.12 firmware-version: bc 7.8.55 bus-info: 0000:11:00.1 |
获取主机总线适配器当前使用的驱动程序类型
1 2 3 | [root@localhost:~] esxcfg-scsidevs -a vmhba0 lsi_mr3 link-n/a sas.500605b00cbce9e0 (0000:07:00.0) LSI MegaRAID SAS Invader Controller vmhba32 iscsi_vmk online iqn.1998-01.com.vmware:594af84f-3e99-cb7d-f42f-e04f43072844-7704b070iSCSI Software Adapter |
------------------------------------------------
查看Radi卡驱动
1 2 3 4 5 6 7 8 9 10 11 12 13 | [root@localhost:~] esxcfg-module -i lsi_mr3 | more esxcfg-module module information input file: /usr/lib/vmware/vmkmod/lsi_mr3 License: GPLv2 Version: 6.605.08.00-7vmw.600.1.17.3029758 Name-space: Required name-spaces: com.vmware.vmkapi@v2_3_0_0 Parameters: max_sectors: int Maximum number of sectors per IO command mfiDumpFailedCmd: int Hex dump of failed command in driver log |
-----------------------------------------------------
查看HBA卡固件
1 | /usr/lib/vmware/vmkmgmt_keyval/vmkmgmt_keyval -a |
查看HBA卡驱动
1 | esxcli software vib list | grep lpfc |
安装驱动
1 | esxcli software vib install -v {VIBFILE} |
=============
“Shutting down firmware services… Using 'simple offset' UEFI RTS mapping policy Relocating modules and starting up the kernel…”
网上查找了相关资料,解决方法如下:
1、在ESXi安装开始前有一个倒计时,这时按下 Shift + O,在显示的命令后添加 ignoreHeadless=TRUE,回车, 安装就能正常进行,安装过程请参阅《ESXI安装全过程及基本配置》;
2、以下的步骤是把这个参数值写入配置, 不会随重启丢失;
3、当ESXi启动后,点击F2, 登录;
4、在System Customization下,进入Troubleshooting Options;
5、启用ESXi Shell,然后一路按ESC返回;(ssh ok)
6、在主界面下,按Alt +F1访问控制台;
7、登录,输入并执行以下命令:
#进入维护模式
vim-cmd /hostsvc/maintenance_mode_enter
#检查主机是否在维护模式
vim-cmd /hostsvc/hostsummary | grep inMaintenanceMode
#设置ESXI开机忽略显卡错误
esxcfg-advcfg --set-kernel "TRUE" ignoreHeadless
#检查命令
esxcfg-advcfg --get-kernel ignoreHeadless
#退出维护模式
vim-cmd /hostsvc/maintenance_mode_exit
8、输入exit,退出控制台登录;
9、点击 Alt+F2,返回 ESXi 主界面;
10、禁用 ESXi Shell;
11、完成。
=============== End
分类:
ns
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· SQL Server 2025 AI相关能力初探
· AI编程工具终极对决:字节Trae VS Cursor,谁才是开发者新宠?
· 开源Multi-agent AI智能体框架aevatar.ai,欢迎大家贡献代码
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南