ESXi主机RAID卡_HBA卡_网卡 型号_固件_驱动查询

时间:2024-04-14 21:07:51

一、RAID卡/HBA卡 型号_固件_驱动查询

1. 查询所有SCSI设备列表

# esxcfg-scsidevs -a
vmhba0  lsi_msgpt3        link-n/a  sas.5d0946607159c000          (0000:02:00.0) Avago (LSI Logic) Dell HBA330 Mini
vmhba1  vmw_ahci          link-n/a  sata.vmhba1                   (0000:00:11.4) Intel Corporation Wellsburg AHCI Controller
vmhba2  vmw_ahci          link-n/a  sata.vmhba2                   (0000:00:1f.2) Intel Corporation Wellsburg AHCI Controller     

2. 查询指定设备驱动版本

# vmkload_mod -s lsi_msgpt3 | grep Version
 Version: 16.00.01.00-1vmw.650.2.50.8294253

3. 查询指定SCSI设备型号

# vmkchdev -l | grep vmhba0
0000:02:00.0 1000:0097 1028:1f53 vmkernel vmhba0
  • VID = 1000
  • DID = 0097
  • SVID = 1028
  • SDID = 1f53

 4. 查看Raid卡固件

$ /usr/lib/vmware/vmkmgmt_keyval/vmkmgmt_keyval -a
Listing all system keys:

Key Value Instance: lsi_mr3-51866da079f04800/LSI Incorporation
Listing keys:
Name: MR-DriverVersion
Type: string
value: 7.700.50.00  # 驱动版本
Name: MR-HBAModel
Type: string
value: Avago (LSI) HBA 1000:5d:1028:1f
Name: MR-FWVersion
Type: string
value: Fw Rev. 25.5.2.0001  # 固件版本
Name: MR-ChipRevision
Type: string
value: Chip Rev. C0
Name: MR-CtrlStatus
Type: string
value: FwState c0000000

 

二、网卡 型号_固件_驱动查询

1. 查询网卡列表

# esxcli network nic list
Name    PCI Device    Driver  Admin Status  Link Status  Speed  Duplex  MAC Address         MTU                                                      
------  ------------  ------  ------------  -----------  -----  ------  -----------------  ---- 
vmnic0  0000:01:00.0  ixgbe   Up            Up           10000  Full    24:6e:96:c4:db:aa  1500 
vmnic1  0000:01:00.1  ixgbe   Up            Up           10000  Full    24:6e:96:c4:db:ab  1500 

2. 查询指定网卡驱动_固件

# esxcli network nic get -n vmnic0
   Advertised Auto Negotiation: true
   Advertised Link Modes: 1000BaseT/Full, 10000BaseT/Full
   Auto Negotiation: true
   Cable Type: FIBRE
   Current Message Level: 7
   Driver Info: 
         Bus Info: 0000:05:00.1
         Driver: ixgbe
         Firmware Version: 0x80000931
         Version: 3.7.13.7.14iov-NAPI
   Link Detected: true
   Link Status: Up 

3. 查询指定网卡设备型号

# vmkchdev -l | grep vmnic0
0000:05:00.1 8086:1500 8086:7b00 vmkernel vmnic0
  • VID = 8086
  • DID = 1500
  • SVID = 8086
  • SDID = 7b00

 

参考KB:https://kb.vmware.com/s/article/1027206