VBox 2.2.0: Unable to remove snapshots

Discussions related to using VirtualBox on Linux hosts.
Post Reply
rudy
Posts: 19
Joined: 22. Jun 2008, 09:47

VBox 2.2.0: Unable to remove snapshots

Post by rudy »

Dear list:

I upgraded to version 2.2.0 hoping that I will be finally able to discard snapshots. But the bug is still there, identical to version 2.1.4

Here are the steps
  • Create VM
    Create Snapshot 1
    Create Snapshot 2
    Discard any Snapshot ======> FAILS!!
Host: Ubuntu server 8.04 LTS
Guest: Ubuntu JeOS 8.04 (but the problem is guest-independent)
Tool used: VBoxManage

The error message is enclosed. Any advice would be appreciated.

Thanks
Rudy

Snapshots:

Name: Initial Install with Host Networking (UUID: e50fc48a-c441-4026-9671-d2079f3e75a7)
Name: Initial Install with Host Networking (UUID: 42319365-7b3f-44db-81c7-f50785da1e68)
Name: Backup 2009 Apr 11 19:23:22 (UUID: 44800c3d-bd90-4750-b399-3addd62b77f7)
Name: Backup 2009 Apr 11 19:24:02 (UUID: 53c5b44e-3207-41d9-a5e4-fd8aedb95e7e)

testvm@host$ VBoxManage snapshot TestVM discard "Backup 2009 Apr 11 19:23:22"
VirtualBox Command Line Management Interface Version 2.2.0
(C) 2005-2009 Sun Microsystems, Inc.
All rights reserved.

0%...FAILED
Error: failed to discard snapshot. Error message: Medium '/home/testvm/.VirtualBox/Machines/TestVM/Snapshots/{b37af01d-0eb5-4ed4-b398-f25185de6928}.vdi' is not accessible. Accessibility check was not yet performed
rudy
Posts: 19
Joined: 22. Jun 2008, 09:47

VBox 2.2.0 Bug Report: Unable to remove snapshots

Post by rudy »

I managed to track the issue down to a weird bug related to timing of the first snapshot creation and deletion. Delay of 5 or more seconds breaks snapshot discarding forever. I did not find a workaround yet, but at least I have filled a bug report:

http://www.virtualbox.org/ticket/3714

I will post more if I figure how to fix existing xml files...

Best
Rudy
rudy
Posts: 19
Joined: 22. Jun 2008, 09:47

[Solved, sort of] VBox 2.2.0: Unable to remove snapshots

Post by rudy »

Workaround found
Discarding snapshots works when the GUI is running.

1. Start the GUI using "VirtualBox" and leave it running.
2. Use VBoxManage or the GUI to discard snapshots.
3. Exit the GUI when done discarding.

Rudy
Post Reply