Can Not Delete Snapshots!

Discussions related to using VirtualBox on Linux hosts.
Post Reply
abferm
Posts: 2
Joined: 8. Sep 2015, 22:17

Can Not Delete Snapshots!

Post by abferm »

Hello, I get the following error when I try to delete snapshots. :shock: I need to clear out some of my older snapshots to free up disk space.

Code: Select all

Failed to delete the snapshot 8.1 With crimson of the virtual machine Windows.

Storage for the medium '/home/abferm/Documents/VBoxSnapshots/Windows 8.1/{3a6163db-baf7-4865-bcd1-c40889295bb1}.vdi' is being deleted.

Result Code: VBOX_E_INVALID_OBJECT_STATE (0x80BB0007)
Component: MediumWrap
Interface: IMedium {4afe423b-43e0-e9d0-82e8-ceb307940dda}

abferm
Posts: 2
Joined: 8. Sep 2015, 22:17

Re: Can Not Delete Snapshots!

Post by abferm »

Upgrading to 5.0.4 appears to have solved the issue.
natenjo
Posts: 1
Joined: 18. Nov 2015, 22:06

Re: Can Not Delete Snapshots!

Post by natenjo »

Hello,

I am having the same Problem with 5.0.10. I can't imagine that downgrading to 5.0.4 will help :(

The Problem occures both when the VM is online or offline (tried online first).

This occures on 2 machines to me in the last 2 days.
Bole
Posts: 2
Joined: 14. Dec 2015, 19:15

Re: Can Not Delete Snapshots!

Post by Bole »

Same problem after upgrade to 5.0.10 from 4.0.x. Any progress will mean a lot for me.
Bole
Posts: 2
Joined: 14. Dec 2015, 19:15

Re: Can Not Delete Snapshots!

Post by Bole »

natenjo wrote:Hello,

I am having the same Problem with 5.0.10. I can't imagine that downgrading to 5.0.4 will help :(

The Problem occures both when the VM is online or offline (tried online first).

This occures on 2 machines to me in the last 2 days.
Did U try with downgrad to 5.0.4 ?
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Can Not Delete Snapshots!

Post by socratis »

Please post a screenshot of the snapshot tree where you show which snapshot you're trying to delete, and the "recipe" (.vbox file) of the VM (right click on the VM, select "Show in..."). Is the VM running, saved, paused or completely shut when you're attempting this?
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Brice
Posts: 1
Joined: 11. Feb 2016, 22:41

Re: Can Not Delete Snapshots!

Post by Brice »

I'm having the same problem deleting snapshots.

VBox Version 5.0.14 r105127

I have attached two (2) files:

1. a screenshot of the snapshot list [inline]
2. the entire .vbox file for the VM

Two snapshots cannot be deleted. They are the last two on the list:
Snapshots (screen cap)
Snapshots (screen cap)
Capture.JPG (27.17 KiB) Viewed 4253 times
name="4.8.00 68428 UPG (bad.1)"
name="4.8.00 68428 UPG (bad.2)"

--- BEGIN: deletion error message ---
Failed to delete the snapshot 4.8.00 68428 UPG (bad.1) of the virtual machine REF_ubuntu_64-bit.
Storage for the medium 'D:\VirtualBox VMs\REF_ubuntu_64-bit\Snapshots\{b1126e1c-27f6-4474-86bd-57a6ec3c5aed}.vdi' is being deleted.
Result Code: VBOX_E_INVALID_OBJECT_STATE (0x80BB0007)
Component: MediumWrap
Interface: IMedium {4afe423b-43e0-e9d0-82e8-ceb307940dda}
--- END: deletion error message ---

I see the same error message when I try to delete the other snapshot, "4.8.00 68428 UPG (bad.2)".

One of the two snapshots cannot be restored:

--- BEGIN: restoration error message ---
Failed to restore the snapshot 4.8.00 68428 UPG (bad.2) of the virtual machine REF_ubuntu_64-bit.

Assertion failed: [m->state == MediumState_LockedRead] at 'F:\tinderbox\win-5.0\src\VBox\Main\src-server\MediumImpl.cpp' (4411) in long __cdecl Medium::i_createDiffStorage(class ComObjPtr<class Medium> &,enum __MIDL___MIDL_itf_VirtualBox_0000_0000_0074,class MediumLockList *,class ComObjPtr<class Progress> *,bool).

Please contact the product vendor!

Result Code: E_FAIL (0x80004005)
Component: MediumWrap
Interface: IMedium {4afe423b-43e0-e9d0-82e8-ceb307940dda}
--- END: restoration error message ---

The .vbox file is attached (with a TXT extention to get past the file-type filter).
Attachments
REF_ubuntu_64-bit.vbox.TXT
The "recipe" (.vbox file) of the VM
(70.66 KiB) Downloaded 16 times
Melebius
Posts: 7
Joined: 29. Jun 2015, 09:23
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 7, Ubuntu

Re: Can Not Delete Snapshots!

Post by Melebius »

A similar problem here with Ubuntu Server 14.04 on x86-64 host and VirtualBox 5.0.10.

The messages shown in my command-line environment:

Code: Select all

Progress state: VBOX_E_INVALID_OBJECT_STATE
VBoxManage: error: Snapshot operation failed
VBoxManage: error: Storage for the medium '/home/virtbox/VirtualBox VMs/Ubuntu-experimental/D:/virtualbox/Ubuntu-experimental/Snapshots/{030f6ba4-910b-4920-b363-575001c82579}.vmdk' is being deleted
VBoxManage: error: Details: code VBOX_E_INVALID_OBJECT_STATE (0x80bb0007), component MediumWrap, interface IMedium
VBoxManage: error: Context: "RTEXITCODE handleSnapshot(HandlerArg*)" at line 532 of file VBoxManageSnapshot.cpp
Nothing related to the snapshot deletion was written to VBox.log.

Has anyone created a bug report for this problem yet?

I had tried to delete the snapshot previously while the machine was running and it produced a different error: NS_ERROR_FAILURE with “extended info not available”. Unfortunately, I haven’t saved the message but it looked similarly as https://www.virtualbox.org/ticket/12118.
Melebius
Posts: 7
Joined: 29. Jun 2015, 09:23
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 7, Ubuntu

Re: Can Not Delete Snapshots!

Post by Melebius »

Melebius wrote:A similar problem here with Ubuntu Server 14.04 on x86-64 host and VirtualBox 5.0.10.
For the record: My problem was probably caused by the lack of free disk space. After freeing some space, the problem disappeared. However, I cannot tell it was the real reason for sure since there was some amount of time between each step. Still I think VirtualBox should print a better-to-understand message. :roll:
Post Reply