Change Boot Drive to NVMe Storage Controller in VMware Workstation 14
As with ESXi 6.5, VMware Workstation 14 has introduced support for the new NVMe storage controller. The new NVMe storage controller allows ones to take advantage of the ultra fast NVMe backed datastores afforded by today’s NVMe drives. If you have upgraded for a previous version of VMware Workstation and want to make use of the new storage controller, how do we go about doing this?ย The process of changing boot drive to NVMe storage controller in VMware Workstation 14 is not quite as straightforward as it is in VMware ESXi.ย Let’s take a look at how to change boot drive to NVMe storage controller in VMware Workstation 14 and the steps involved to get up and running with the new NVMe storage controller in place.
Change to NVMe Storage Controller in VMware Workstation 14
VMware Workstation in general doesn’t give us as much control over the storage controller via the Workstation interface as we get in the vSphere client with ESXi, etc.ย It requires some low level edits to change existing drives to NVMe that we don’t have to do in vSphere.ย ย The process to change to NVMe storage controller in VMware Workstation 14 involves just a few steps including the below:
- Change Hardware compatibility to VMware Workstation 14.xย
- Add a new hard disk to your virtual machine of type NVMe
- Make sure VMware Tools is at the current version level
- Allow drivers for the NVMe hard disk to be loaded
- Edit the VMX file to change references to the existing LSI SAS controller to NVMe
Let’s take a look at the first thing we need to do – Change Hardware Compatibility.
Upgrade Hardware Compatibility in VMware Workstation 14
The first thing we need to do is upgrade the hardware compatibility of the virtual machine so it can take advantage of the new features offered in VMware Workstation 14 such as NVMe hard disk support.ย To begin making these changes, simply right-click on the virtual machine in question and chooseย Change Hardware Compatibility.
Theย Change Hardware Compatibility Wizard begins.
Here, we want to change the Hardware compatibility toย Workstation 14.x.
To be safe, you can choose toย Create a new clone of this virtual machine to make sure you have an original copy of the virtual machine and its configuration before altering compatibility.ย However, I am simply choosing toย Alter this virtual machine without creating a clone.
Here we have a summary of sorts where we see the changes that will be made before the configuration is changed.ย Clickย Finish.
Once we hit finish, we see the changes are applied.ย Clickย Close.
Add a New NVMe Hard Disk in VMware Workstation 14
Now that we have upgraded our hardware compatibility, we can add an NVMe hard disk to the virtual machine.ย Simply right-click the virtual machine and chooseย Settings.ย In settings, click theย Add button at the bottom.
This begins theย Add Hardware Wizard.ย We chooseย Hard Disk since we want to add a new NVMe hard disk.
Selectย NVMe.
Here, choose toย create a new virtual disk.ย Since in this case, we are trying to get ourย boot drive changed over to the NVMe hard disk, we need to get the driver installed.ย The quickest way to do that is to create a tiny new NVMe hard disk and allow the driver to install.ย Then, we will change our boot drive over to the new NVMe controller.
Again, I am creating a tiny new 1GB disk.
Name the new NVMe hard disk and clickย Finish.
Upgrade VMware Tools in VMware Workstation 14
To upgrade VMware Tools, we simply right-click the workstation and choose theย Update VMware Tools option.
Simply walk through the “next, next, finish” of VMware Tools install.
Note in Windows device manager, you should see the newย Standard NVM Express Controllerย appear.
Edit the Virtual Machine VMX file to change to NVMe storage controller
Note, below, we see the current storage controller configuration for the boot drive.ย The standardย lsisas1068 controller is shown in the VMX.ย We need toย removeย these configuration lines.ย ย Note be sure to take a backup of the VMX file first.
Below are the configuration lines present for the NVMe drive we added.ย We will use these as a starting point to change the boot drive to NVMe.
Below, we have “flip flopped” the boot drive numbering with the new drive so that the boot drive is at theย 0:0 slot on the controller.
Save the VMX file andย remove the virtual machine from inventory.
Now, add the virtual machine back to your VMware Workstation 14 inventory and we canย remove the secondary hard disk that we added to install the NVMe driver.
After this point, we are good to boot our virtual machine and enjoy the new speed and functionality of the NVMe controller driving our boot disk!
Thoughts
The new features and functionality with VMware Workstation 14 include the ability to use the new NVMe storag controller.ย VMware Workstation is a little more locked down from the interface perspective in controlling the storage controller driving a hard disk.ย However, with just a few steps, we can edit the VMX file to change our boot disk to the new NVMe storage controller without much hassle.