Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to convert VMware virtual SCSI disk to new virtual NVMe disk?

VMware Workstation Pro 14 now supports virtual NVMe drives.

What is the easiest way to convert existing virtual SCSI disk to the new virtual NVMe disk?

like image 914
Sam Rueby Avatar asked Sep 27 '17 13:09

Sam Rueby


People also ask

What is the difference between SCSI and NVMe?

“SCSI is a serial protocol, so when you're trying to talk to disk devices that are attached to a SCSI controller, you can only talk to them one at a time,” Burgener says. “NVMe lets you have up to 64,000 simultaneous outstanding requests, so you can get a lot more devices on the back end.

What is NVMe controller in VMware?

You can use an NVM Express (NVMe) controller from ESXi 6.5 and Hardware Version 13. NVMe is a logical device interface specification for accessing nonvolatile storage media attached through a PCI Express (PCIe) bus in real and virtual hardware.


Video Answer


1 Answers

The first step is to get Windows to load the new drivers. This can be done by adding a second drive to the computer:

  1. Power off the virtual machine.
  2. Add a new NVMe disk to the virtual machine.
  3. Power on the virtual machine.
  4. Ensure VMWare Tools has been upgraded to the latest version.

The second step is to manually modify the .vmx file:

  1. Power off the virtual machine.
  2. Close out of the virtual machine in VMWare Workstation.
  3. Make a backup copy of the .vmx file
  4. Open the .vmx file in a text editor (Such as Notepad++)
  5. Delete any lines starting with scsi0
  6. Scroll to the bottom. You will see the new NVMe entries that were created for the new drive. It will start with nvme0
  7. Search for nvme0:0.fileName = "SOMEFILE.vmdk"
  8. Change the file name to be the file containing your virtual machine's C: drive.
  9. Save the .vmx file.
  10. Open the virtual machine in VMWare Workstation and power it on.

Taken from http://techninotes.blogspot.com/2017/10/migrating-existing-virtual-machines-to.html.

like image 152
user1233749 Avatar answered Oct 10 '22 03:10

user1233749