Missing VMDK?

      Some how in my late night troubleshooting, I managed to delete the virtual disk (vmdk) file associated with one of my VMs. I was greeted with a very unpleasant error message attempting to power on my VM. Of course I had to try and power it on a couple of times (maybe it would fix itself…)
image

Looking at the storage, I still had the *-flat.vmdk file, which is the actual disk, but I did not have the configuration file. I decided to manually recreate the file and see if I could save my VM from eminent destruction. You can see the contents of the file below:

# Disk DescriptorFile
version=1
CID=24a5eeb6
parentCID=ffffffff
createType="vmfs"

# Extent description
RW 41943040 VMFS "Wordpress-flat.vmdk"

# The Disk Data Base
#DDB

ddb.virtualHWVersion = "4"
ddb.toolsVersion = "7299"
ddb.uuid = "60 00 C2 92 45 db 09 47-c5 9d a9 22 a6 cd 24 e9"
ddb.geometry.cylinders = "2610"
ddb.geometry.heads = "255"
ddb.geometry.sectors = "63"
ddb.adapterType = "lsilogic"

I created a new file called wordpress.vmdk, ensuring it was pointing to the correct -flat.vmdk file. I was then able to edit my virtual machine and assign the new disk and power up the VM.

image

Related Posts with Thumbnails