Hello all,
Today, I’ll show you how to know which driver and version we are using in our ESXs.
- Connect to the ESXi using SSH.
- Run the following command to understand which driver host is using.
-
1esxcli storage core adapter list
123HBA Name Driver Link State UID Capabilities Description-------- -------------- ---------- -------------- ------------ ----------------------------------------------------------vmhba0 megaraid_perc9 link-n/a unknown.vmhba0 (0000:0x:xx.0) LSI / Symbios Logic PERC H730 Mini - In our case, the host is using megaraid_perc9. This driver is not supported, so we need to disable it and enable the right one lsi_mr3. To understand which driver hosts should use, I kindly recommend (from time-to-time) to check the vSAN adapter VMware Compatibility Guide.
-
121- esxcli system module set --enabled=false --module=megaraid_perc92- esxcli system module set --enabled=true --module=lsi_mr3
- Reboot the host with “Ensure Accesibility” to avoid vSAN Resyn. When the host is back in the vCenter, run the following command to see which driver viersion host is using.
-
12345678910esxcli system module get --module=lsi_mr3Module: lsi_mr3Module File: /usr/lib/vmware/vmkmod/lsi_mr3License: ThirdParty:ProprietaryVersion: 7.700.50.00-1OEM.650.0.0.4598673Build Type: releaseProvided Namespaces:Required Namespaces: com.vmware.vmkapi@v2_4_0_0Containing VIB: lsi-mr3VIB Acceptance Level: certified
-
123HBA Name Driver Link State UID Capabilities Description-------- -------- ---------- -------------------- ------------ ----------------------------------------------------------vmhba0 lsi_mr3 link-n/a sas.544a84203axxxxxx (0000:02:00.0) LSI / Symbios Logic PERC H730P Mini
- Now, host is using lsi_mr3, which is approved in the VMware Compatibility Guide.
- The following command shows the parameters the driver is configured.
-
12345678910111213141516171819202122232425vmkload_mod -s lsi_mr3vmkload_mod module informationinput file: /usr/lib/vmware/vmkmod/lsi_mr3Version: 7.700.50.00-1OEM.650.0.0.4598673Build Type: releaseLicense: ProprietaryRequired name-spaces:com.vmware.vmkapi#v2_4_0_0Parameters:lb_pending_cmds: intChange raid-1 load balancing outstanding threshold.Valid Values are 1-128. Default: 4max_msix_count: intTo change MSI-X vector count. Default: No. of Physical Socketsdisable_1MB_IO: intDisable 1MB IO support. Default: 0disable_dual_qd: intDisable dual queue depths. Default: 0class_event_print: intTo print Event details. Default: 2disable_TB_support: intDisable TB support. Default: 0mfiDumpFailedCmd: intHex dump of failed command in driver logmax_sectors: intMaximum number of sectors per IO command
Kent