Recreating a corrupt or missing VMDK header/descriptor on hosted products
search cancel

Recreating a corrupt or missing VMDK header/descriptor on hosted products

book

Article ID: 306452

calendar_today

Updated On:

Products

VMware VMware Desktop Hypervisor

Issue/Introduction


Symptoms:
The VMDK header/descriptor file for a virtual machine may be corrupt if you see the following errors when powering on the virtual machine:
  • Failed to open disk.
  • The file specified is not a virtual disk (15) 3023.
  • Cannot open the disk or one of the snapshot disks it depends on.
  • The file specified is not a virtual disk


Resolution

To resolve this issue, you have to recreate the VMDK header/descriptor file.
If the virtual machine is using persistent disks, see Recreating a missing virtual disk (VMDK) header/descriptor file (1002511).
On products such as VMware Workstation and VMware Server, you need to use the vmware-vdiskmanager utility to create a new disk of the same type and size of the -flat.vmdk file.
In Windows, this utility is located in the install directory of VMware Server or VMware Workstation (C:/Program Files/VMware/).
To recreate the VMDK header/descriptor file:
  1. If you are using Windows, locate the utility in the install directory of VMware Server or VMware Workstation (C:/Program Files/VMware/).
  2. Run the command:

    vmware-vdiskmanager.exe <create disk> <size> <adapter> <disk-type> <path>

    For example, to create a 20 GB persistent size disk for use with Windows Server 2003 on the e: drive, run the command:

    vmware-vdiskmanager.exe -c -s 20GB -a lsilogic -t 2 "e:\newdisk.vmdk"

    Note: For more information about vmware-vdiskmanager.exe, consult the Linux man page (man vmware-vdiskmanager) or Windows Help (vmware-vdiskmanager /?).
  3. Copy the new VMDK descriptor file to the folder where the problematic virtual machine is located, and edit the flat file to which it points so it has the correct name.


Additional Information

For further information regarding the vmware-vdiskmanager utility, see the Virtual Disk Manager User's Guide.

ホスト型製品で破損または欠落している VMDK ヘッダ/記述子を再作成する