You must convert the IDE disk to SCSI to get the best performance. If the primary disk is an IDE virtual disk, the newly converted virtual machine may fail to start because the guest operating system does not support the driver.
Note: For some Windows and Linux operating system guests, the typical SCSI adapter types are the LSI Logic controllers.
- Refer to the Avago/Broadcom to download the driver for LSI20320-R controller.
- Power off the virtual machine.
- From the Edit Settings menu for this virtual machine:
- Go to Add > Hard Disk > Create New Virtual Disk.
- Change the Capacity to 1 GB and click Next.
- Ensure that the Virtual Device Node is set to SCSI.
- Complete the wizard and select the New SCSI Controller.
- If the current type is not LSI Logic Parallel Select Change Type, change the type to LSI Logic Parallel.
- Click OK.
- Choose the same controller as the adapter type, make sure the SCSI ID should read SCSI 0:0.
- Power on the virtual machine.
- Follow the Found New Hardware wizard or in the Windows device manager inside the Windows guest and select the unknown device.
- Right-click Update Driver and select the LSILogic SCSI controller driver downloaded earlier. This installs the drivers for the LSILogic SCSI controller inside the guest operating system.
- Power off the virtual machine.
- Locate the datastore path where the virtual machine resides.
For example:
# cd /vmfs/volumes/datastore_name/vm_name/
- From the ESX Service Console, open the primary disk (.vmdk) using the vi editor. For more information, see Editing files on an ESX host using vi or nano (1020302).
- Look for the line:
ddb.adapterType = "ide"
- To change the adapter type to LSI Logic change the line to:
ddb.adapterType = "lsilogic"
To change the adapter type to Bus Logic change the line to:
ddb.adapterType = "buslogic"
In some instances the entry appears as ddb.adapterType = "legacyESX". In this case change the line to:
ddb.adapterType = "lsilogic"
- Save the file.
- From VMware Infrastructure/vSphere Client:
- Click Edit Settings for the virtual machine.
- Select the IDE virtual disk.
- Choose to Remove the Disk from the virtual machine.
- Click OK.
Caution: Do not choose delete from disk.
- From the Edit Settings menu for this virtual machine:
- Go to Add > Hard Disk > Use Existing Virtual Disk.
- Navigate to the location of the disk and select to add it into the virtual machine.
- Choose the same controller as in Step 9 as the adapter type. The SCSI ID should read SCSI 0:0.
- If a CDROM device exists in the virtual machine it may need to have the IDE channel adjusted from IDE 0:1 to IDE 0:0. If this option is greyed out, remove the CD-ROM from the virtual machine and add it back. This sets it to IDE 0:0.
Workaround:
For Windows 2008 R2, you may try and skip Steps #1, 5, and 6.
If you are unable to power on the VM after changing the controller type and receive the below message, clone the .vmdk file using: vmkfstools -i diskname.vmdk -d zeroedthick diskname.vmdk
Failed to start the virtual machine.
Module DevicePowerOn power on failed.
Unable to create virtual SCSI device for scsi0:0, '/vmfs/volumes/DiskUUID/virtualmachinefolder/virtulmachinename.vmdk'
Failed to open disk scsi0:0: Unsupported or invalid disk type 7. Ensure that the disk has been imported.