<

Converting a virtual IDE disk to a virtual SCSI disk

Published on
3,968 Points
968 Views
Last Modified:
When converting a physical machine to a virtual machine using VMware vCenter Converter Standalone or vCenter Converter Enterprise, if an adapter type is not selected during the initial customization the resulting virtual machine may contain an IDE disk as the primary OS disk.

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 boot because the guest OS does not support the driver. The second reason for this issue is that in ESX 4.x the default disk type for Windows XP 32bit virtual machine creation is IDE. This default value can be manually changed during the virtual machine creation wizard by selecting the custom option. Windows XP 64bit will still use SCSI by default.

Note: For newer versions of Windows and Linux OS guests, the typical SCSI adapter types are the LSI Logic controllers. When using LSI Logic SCSI controllers in the Windows XP virtual machine, ensure to download and install the appropriate LSI driver before proceeding.

To convert the IDE disk to SCSI:
 

1.

Download the driver (LSI20320-R controller) from the LSI site:
http://www.lsi.com/support/products/Pages/LSI20320-R.aspx

2.

Power OFF the virtual machine.

3.

From the Edit Settings menu for this virtual machine:
-  Click Add > Hard Disk > Create New Virtual Disk.
-  Change the Capacity to 1GB and click Next.
-  Make sure 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 in Step 4 as the adapter type. The SCSI ID should read SCSI 0:0.

4.

Power on the virtual machine.

5.

Follow the Found New Hardware wizard or in the Windows device manager inside the Windows guest and select the unknown device.

6.

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.

7.

Power off the virtual machine.

8.

Locate the datastore path where the virtual machine resides.For example:

# cd /vmfs/volumes/<datastore_name>/<vm_name>/

Open in new window

From the ESX Service Console, open the primary disk (.vmdk) using the vi editor.

Look for the line:
ddb.adapterType = "ide"

Open in new window

To change the adapter type to LSI Logic change the line to:

ddb.adapterType = "lsilogic"

Open in new window

To change the adapter type to Bus Logic change the line to:

ddb.adapterType = "buslogic"

Open in new window

In some instances the entry will appear as ddb.adapterType = "legacyESX". In this case change the line to:

ddb.adapterType = "lsilogic"

Open in new window


9.

Save the file.

10.

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.

11.

From the Edit Settings menu for this virtual machine:
-  Click 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.
0
Comment
Author:joensw
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
0 Comments

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Join & Write a Comment

Teach the user how to rename, unmount, delete and upgrade VMFS datastores. Open vSphere Web Client: Rename VMFS and NFS datastores: Upgrade VMFS-3 volume to VMFS-5: Unmount VMFS datastore: Delete a VMFS datastore:
Teach the user how to use create log bundles for vCenter Server or ESXi hosts Open vSphere Web Client: Generate vCenter Server and ESXi host log bundle:  Open vCenter Server Appliance Web Management interface and generate log bundle: Open vCenter Se…

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month