Page 1 of 1

Can Not Delete Snapshots!

Posted: 8. Sep 2015, 22:21
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}


Re: Can Not Delete Snapshots!

Posted: 9. Sep 2015, 15:03
by abferm
Upgrading to 5.0.4 appears to have solved the issue.

Re: Can Not Delete Snapshots!

Posted: 18. Nov 2015, 22:08
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.

Re: Can Not Delete Snapshots!

Posted: 14. Dec 2015, 19:25
by Bole
Same problem after upgrade to 5.0.10 from 4.0.x. Any progress will mean a lot for me.

Re: Can Not Delete Snapshots!

Posted: 15. Dec 2015, 12:25
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 ?

Re: Can Not Delete Snapshots!

Posted: 15. Dec 2015, 12:43
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?

Re: Can Not Delete Snapshots!

Posted: 12. Feb 2016, 03:46
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 4255 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).

Re: Can Not Delete Snapshots!

Posted: 19. May 2016, 13:21
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.

Re: Can Not Delete Snapshots!

Posted: 16. Aug 2016, 12:21
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: