Page 1 of 1

Resuming saved VM Error

PostPosted: 17. Jan 2011, 12:51
by Kevin666
Lucid Lynx x64 (Ubuntu 10.4LTS) running VB 4 r69151.

Saved a VM machine state for Windows 7 guest - all happy days, come to resume and get progress bar to about 70% then

pdmblkcache#0: The VM is missing a block device. Please make sure the source and target VMs have compatible storage configurations [ver=1 pass=final] (VERR_SSM_LOAD_CONFIG_MISMATCH).

Have the foggiest what that is supposed to mean but would assume that the Linux host has dropped a block (yes I did spell it right only sounds like it if you say it fast!)
Appreciate any help, or is this a bug and need reporting in which case direction on doing so would be good as never done one before for VB

Thx

Re: Resuming saved VM Error

PostPosted: 17. Jan 2011, 12:56
by Kevin666
would like to add that I can discard the VM and start from scratch but thats not the point wanted to know why it failed and how to correct for future.

Re: Resuming saved VM Error

PostPosted: 17. Jan 2011, 13:37
by fixedwheel
Kevin666 wrote:[b]pdmblkcache#0: The VM is missing a block device.

...but would assume that the Linux host has dropped a block

a block device ... probably its missing the virtual CD or floppy drive

Re: Resuming saved VM Error

PostPosted: 18. Jan 2011, 23:45
by M3nt0r3
same error for me, ubuntu natty guest saved

Re: Resuming saved VM Error

PostPosted: 30. Jan 2011, 18:32
by javierbrk
I have the same error.
Host Ubuntu 10.4 (Linux ubuntu 2.6.32-21-386 #32-Ubuntu )
Guest Fedora 14, Fedora 13.

This is the vm log
http://pastebin.com/87SAa4ah

Re: Resuming saved VM Error

PostPosted: 7. Feb 2011, 09:57
by Nicolas Raoul
Same problem, hours of work lost.
Host: Ubuntu 2010.10
Guest: Ubuntu 2010.10
Virtualbox: 4.0.2 r69518
Reverting to a previous snapshot does not solve the problem. Only the first snapshot works (Ubuntu installed and rebooted but not updated yet)

Re: Resuming saved VM Error

PostPosted: 8. Feb 2011, 17:49
by paddler
Just saw this post. Same problem for me.

Re: Resuming saved VM Error

PostPosted: 8. Feb 2011, 22:07
by bho
To anyone else who gets this. This worked for me.

make a backup of you .vbox file.
open up the.vbox file in an editor, and remove the stateFile attribute from the Machine tag.

You should see something like this at the top of the file.
Code: Select all   Expand viewCollapse view
<Machine uuid="{xxxxxxxxxx-xxxx-xxxx-xxxxxxxx}" name="Windows7" OSType="Windows7_64" stateFile="{xxxxxxxxxx-xxxx-xxxx-xxxxxxxx}.sav" currentSnapshot="{xxxxxxxxxx-xxxx-xxxx-xxxxxxxx}" snapshotFolder="Snapshots" lastStateChange="2011-02-08T19:49:27Z">


remove this part stateFile="{xxxxxxxxxx-xxxx-xxxx-xxxxxxxx}.sav"

Re: Resuming saved VM Error

PostPosted: 8. Feb 2011, 22:28
by paddler
Bho. Thank you so much!!! I've been working at this for a couple of days and I was just about to dump my 3 ubuntu clones and start cloning them again. With your solution I got them back running and double checked each of them twice in less than 10 minutes total time. I'll bookmark this in case it happens again. Cheers.

Re: Resuming saved VM Error

PostPosted: 5. Jan 2012, 20:19
by wild_oscar
To my understanding, this solution essentially discards the .sav state, am I correct?

What are its consequences exactly?

Re: Resuming saved VM Error

PostPosted: 2. Oct 2012, 18:56
by klaus
PLEASE don't edit VM configs (there's a reason why they bear a DO NOT EDIT notice). If you really have reason to throw away saved state then please use the "Discard" button in the GUI or "VBoxManage discardstate <vmname>". Much safer and actually achieves the desired result in way more cases.

If you have a way to reproduce saved state failures we're grateful for a bug report with as many details as possible (preferrably with VBox.log.X covering the VM run until the state was saved and another VBox.log for a failed attempt to start the VM).