Cannot add a new virtual hard drive
search cancel

Cannot add a new virtual hard drive

book

Article ID: 340073

calendar_today

Updated On:

Products

VMware

Issue/Introduction

Symptoms:
  • Adding a second virtual hard drive to a template or virtual machine fails
  • When the adding a new hard drive, the controller type is shown as unknown
  • The following error appears when a size is specified for a new hard drive:

    This field can not be more than xxxxx GB for the selected vm technology and disk type.


Environment

VMware vCenter Lab Manager 4.0.x
VMware vCenter Lab Manager 3.0.x

Resolution

This issue happens when the virtualdev parameter is missing from the .vmx file.
To add the virtualdev parameter to the .vmx file:
  1. Connect to the service console as root.
  2. Open the .vmx file of the affected virtual machine in a text editor.
  3. Add one of the following lines, depending on the required type:

    For Windows 2003, 2008, Vista, Linux

    scsi0.virtualDev = "lsilogic"

    For Windows NT, 2000, XP

    scsi0.virtualDev = "buslogic"

  4. Save the file.