VMware

Find storage driver version update VMware ESXi

In order to find storage driver version update VMware esxi, there are a few handy commands we can use to accomplish our goal of updating storage drivers.

Highlights

  • After you download the newest driver and the one matching your firmware and have uploaded this driver to the ESXi host or shared storage it can reach, to update the driver, you run the following command after placing the server in maintenance mode.
  • Especially if you install the general ESXi install from VMware without any vendor customizations, it may install an older compatible driver for your hardware, such as LSI, for instance, that may not be the latest and greatest driver for your server, especially in the case of a whitebox type install.
  • I had updated the firmware on the RAID controller and wanted to make sure to run the matched up version of the driver which is best practice as they are developed to work this way.

There may be times when you need to update a storage driver in VMware ESXi if you are troubleshooting or ruling out hardware issues. Especially if you install the general ESXi install from VMware without any vendor customizations, it may install an older compatible driver for your hardware, such as LSI, for instance, that may not be the latest and greatest driver for your server, especially in the case of a whitebox type install.  Let’s look at how to find storage driver version update VMware ESXi.

esxistordriver

Find storage driver version update VMware ESXi

Another consideration with storage drivers, you want to make sure your storage driver and the firmware of the RAID controller matches. I had updated the firmware on the RAID controller and wanted to make sure to run the matched up version of the driver which is best practice as they are developed to work this way.

To see which driver your storage array(s) are using, run the following command:

esxcfg-scsidevs -a

After you have determined the storage driver being used, you can see which versions of drivers you are running by executing the following command and looking for the particular driver you found in the command above:

esxcli software vib list

For LSI, which is now Avago, visit the avagotech website and search for the RAID controller model. You will find the latest driver available. Avago does this a bit differently however, in that the download from their site is literally a text file with the applicable links to VMware’s site containing the tested and verified driver for that particular card.

For my whitebox server, I was running an LSI 9380-4i card and the in box driver was version 6.605. However, the latest driver was some 24 versions newer than the in box driver that was loaded by ESXi 6.

After you download the newest driver and the one matching your firmware and have uploaded this driver to the ESXi host or shared storage it can reach, to update the driver, you run the following command after placing the server in maintenance mode:

esxcli software vib update -v {VIB file} replacing the {VIB file} with the path to your driver you have uploaded. Reboot the server after the driver update.

To verify the driver that is now installed after the reboot:

vmkload_mod -s lsi_mr3

The above example checks the version of the lsi_mr3 driver that the Avago 9380-4i card in my case was running.

Thoughts

Having correct drivers installed in ESXi can help to eliminate hardware issues down the road and it is best practice to update firmware and run the latest drivers for hardware.  To find storage driver version update VMware ESXi is not a difficult thing to do and with a few command line commands it is accomplished fairly quickly.

Subscribe to VirtualizationHowto via Email 🔔

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Brandon Lee

Brandon Lee is the Senior Writer, Engineer and owner at Virtualizationhowto.com and has over two decades of experience in Information Technology. Having worked for numerous Fortune 500 companies as well as in various industries, Brandon has extensive experience in various IT segments and is a strong advocate for open source technologies. Brandon holds many industry certifications, loves the outdoors and spending time with family.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.