Resuming saved VM Error

Discussions related to using VirtualBox on Linux hosts.
Post Reply
Kevin666
Posts: 11
Joined: 26. Oct 2009, 16:24
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: LinuxMint MATE, Windows 7, Windows XP, SUSE

Resuming saved VM Error

Post 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
Kevin666
Posts: 11
Joined: 26. Oct 2009, 16:24
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: LinuxMint MATE, Windows 7, Windows XP, SUSE

Re: Resuming saved VM Error

Post 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.
fixedwheel
Volunteer
Posts: 1699
Joined: 13. Sep 2008, 02:18

Re: Resuming saved VM Error

Post by fixedwheel »

Kevin666 wrote: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
M3nt0r3
Posts: 1
Joined: 18. Jan 2011, 23:40
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: LINUX

Re: Resuming saved VM Error

Post by M3nt0r3 »

same error for me, ubuntu natty guest saved
javierbrk
Posts: 1
Joined: 30. Jan 2011, 18:20
Primary OS: Ubuntu 8.04
VBox Version: OSE Debian
Guest OSses: fedora

Re: Resuming saved VM Error

Post 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
Nicolas Raoul
Posts: 1
Joined: 7. Feb 2011, 09:53
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: Ubuntu

Re: Resuming saved VM Error

Post 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)
paddler
Posts: 20
Joined: 3. Jan 2011, 17:18
Primary OS: Ubuntu other
VBox Version: OSE other
Guest OSses: ubuntu 10.10 win xp

Re: Resuming saved VM Error

Post by paddler »

Just saw this post. Same problem for me.
bho
Posts: 1
Joined: 8. Feb 2011, 21:57
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: xp, windows 7

Re: Resuming saved VM Error

Post 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

<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"
paddler
Posts: 20
Joined: 3. Jan 2011, 17:18
Primary OS: Ubuntu other
VBox Version: OSE other
Guest OSses: ubuntu 10.10 win xp

Re: Resuming saved VM Error

Post 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.
wild_oscar
Posts: 2
Joined: 15. Jun 2011, 13:31
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: ubuntu linux

Re: Resuming saved VM Error

Post by wild_oscar »

To my understanding, this solution essentially discards the .sav state, am I correct?

What are its consequences exactly?
klaus
Oracle Corporation
Posts: 1115
Joined: 10. May 2007, 14:57

Re: Resuming saved VM Error

Post 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).
Post Reply