Wednesday, October 1, 2008

The parent virtual disk has been modified since the child was created

After expanding the virtual disk (.vmdk) of an ESX 3.5 virtual machine, the virtual machine would not start generating the following error: The parent virtual disk has been modified since the child was created. I followed the instructions from Samuel Lai at his blog, http://driveactivated.com/blog/archive/2007/11/06/recovering-vmware-snapshot-after-parent-changed.aspx. However, this did not work for me. Since this was a fairly new VM I wasn't too concerned about the changes made it the snapshots I did the following:

NOTE: Following these steps will cause you to lose all data and changes saved in the snapshot(s).


1. Shutdown the VM.
2. SSH'd to the ESX Server.
3. CD'd to the virtual machine's directory.
4. Used VI to edit the .vmx file.
5. Changed the scsi0:0.fileName from the ".vmdk" to the main drive vmdk,
".vmdk".
6. Started the VM successfully.


There is probably a better way but it got my VM up and running.

4 comments:

Jeremy said...

Great, work like a charm!

Toby Osbourn said...

About to give this a go, wish me luck!

Toby said...

Worked like a charm! Cheers!

Unknown said...

greeeat