Error while deleting a snapshot

Discussions related to using VirtualBox on Linux hosts.
Post Reply
ARSCHKOCH
Posts: 3
Joined: 15. May 2009, 17:25
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: Windows XP, Debian

Error while deleting a snapshot

Post by ARSCHKOCH »

Hello,

i think i discovered a bug in virtualbox 2.2.2 - i rather wouldn't have...

I am using Ubuntu 9.04 as host and had a Windows XP guest vm where i took a snapshot right after installing the OS.
So the /home/muck/.VirtualBox/Machines/WXPVOL_DE/Snapshots/{3d9e057a-6cfe-4396-b98d-67d3f5bfb50a}.vdi grew bigger than 5 GB while the original WXPVOL_DE.vdi constantly had around 500 MB.
As i tried to delete the snapshot in order to free some space on my harddrive, Virtualbox tried to merge the two vdi's. After that a Disk Full error occured - the 5 GB vdi was lost and the VM wouldn't resume anymore. Lost means that the file isn't on the harddrive anymore.
After searching for similar problems i could at least restore the snapshot creating a new machine with the WXPVOL_DE.vdi as harddisk, but the main work in the vm is lost...

the logfile just seems to say the typical
00:30:19.790 PIIX3 ATA: Host disk full
but i can't find any message about merging...


I hope i could help to reproduce the bug...
regards
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Error while deleting a snapshot

Post by Perryg »

Thank you for this post. It has been noted.
ARSCHKOCH
Posts: 3
Joined: 15. May 2009, 17:25
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: Windows XP, Debian

Re: Error while deleting a snapshot

Post by ARSCHKOCH »

Hey,

another question to my error... do you have an idea how to get my volumes clean? I don't want virtualbox to start another .vdi when i start the new VM with the old WXPVOL_DE.vdi... and i want to remove the entry of the non-existing snapshot...

somebody can help me with that?

Thank you!
Attachments
Error in Manager
Error in Manager
vdis.png (53.11 KiB) Viewed 1073 times
ARSCHKOCH
Posts: 3
Joined: 15. May 2009, 17:25
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: Windows XP, Debian

Re: Error while deleting a snapshot

Post by ARSCHKOCH »

I removed the erroneous snapshot .vdi entry through editing ~/.VirtualBox/Virtualbox.xml

but i still don't know why there's alway another vdi snapshot file which grows... i would like everything in one .vdi... but ok

thanks anyway!
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Error while deleting a snapshot

Post by Perryg »

Sorry I did not get back as soon as you would like. First I was extremely busy and after all it was my birthday. :mrgreen:

You need to look at what you have installed. Look at the machine folder and the VDI folder that are under your .virtualbox directory. If you find one that you suspect does not belong you can change the file name to (whatever.vdi) to (whatever.vdi .old) and see it it effects your working machines. If it does change it back, if not you can delete it because it is not really being used.
Post Reply