The Missing VMDK

This week I had a weird thing happen. A already problematic VM in the OS and never really a problem in ESX. The machine shutdown because it is convinced there is another Windows 2003 SBS server on the domain, which there is not. This time it turned off and could not be powered back on. The VMDK file for the C drive was missing! I didn’t panic, much. The -flat.vmdk file was still there. I was able to track down a way to fix it:

  1. Create a new vmdk the same size.
  2. Copy and rename the .vmdk file to the needed location.
  3. Edit the .vmdk to point to the -flat.vmdk.
  4. Add the virtual disk to the VM.

Everything was ok. I still don’t know how the file could up and dissapear.
Any thoughts?

Written on October 23, 2008