Cannot delete snapshot

Discussions related to using VirtualBox on Windows hosts.
Post Reply
doron
Posts: 29
Joined: 19. Aug 2009, 17:13
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Various Linux, Win7, Win10

Cannot delete snapshot

Post by doron »

I'm trying to delete (merge) a snapshot of a VDI.
The delete keeps failing every time, after a long period of chewing on hard disk access.

Tried the deletion both via GUI and via vboxmanage (not that it should be any different).
Had the problem in 4.3.22, upgraded to 4.3.26 and still same result. Win7 x64 host.

The VDI (with the snapshot) works well otherwise (i.e. guest boots and works fine).

Excerpt of VBoxSVC.log and the application crash report, below.

Any help would be greatly appreciated!

Code: Select all

00:01:00.587596 DeleteSnapshot ERROR [COM]: aRC=E_ACCESSDENIED (0x80070005) aIID={480cf695-2d8d-4256-9c7c-cce4184fa048} aComponent={Machine} aText={The object functionality is limited}, preserve=false
00:12:15.170525 DeleteSnapshot ERROR [COM]: aRC=VBOX_E_FILE_ERROR (0x80bb0004) aIID={05f2bbb6-a3a6-4fb9-9b49-6d0dda7142ac} aComponent={Medium} aText={Could not merge the medium 'C:\Users\Doron\VirtualBox VMs\Windows 10\Snapshots/{fced6102-d3a5-4519-9537-318170ecb8da}.vdi' to 'N:\VMs\Windows 10.vdi' (VERR_INVALID_PARAMETER)}, preserve=false
00:12:15.422540 DeleteSnapshot ERROR [COM]: aRC=E_ACCESSDENIED (0x80070005) aIID={480cf695-2d8d-4256-9c7c-cce4184fa048} aComponent={Machine} aText={The object functionality is limited}, preserve=false

Code: Select all

Problem signature:
  Problem Event Name:	APPCRASH
  Application Name:	VBoxSVC.exe
  Application Version:	4.3.26.0
  Application Timestamp:	550706ad
  Fault Module Name:	VBoxSVC.exe
  Fault Module Version:	4.3.26.0
  Fault Module Timestamp:	550706ad
  Exception Code:	c0000005
  Exception Offset:	000000000012ba5a
  OS Version:	6.1.7601.2.1.0.256.1
  Locale ID:	1033
  Additional Information 1:	f945
  Additional Information 2:	f945b0fdc923a211f0118eb25431c967
  Additional Information 3:	bb16
  Additional Information 4:	bb16b9dd89c9ec00117f326c5e9fcb3b
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Cannot delete snapshot

Post by mpack »

Slow I/O, failure part way through... etc etc.

It means one of two things (or both). Either your disk is full, though in that case I would expect VirtualBox to give a warning. Or, the filesystem on your host disk is damaged, either by physical damage or data corruption.

Upgrading the software etc is superfluous.

You should try running "chkdsk /f" on the affected host drive.

Incidentally, what is drive "N:"? A truly catastrophic mistake would be to store a VM on a FATx formatted external drive. That might be what the "functionality limited" message could be about. FAT drives can't store files larger than 4GB, which might arise when merging snapshots. It could also explain poor performance.

As to getting rid of the snapshot, one thing you might try (before any of the above) is to clone the snapshot (not the base VDI) using CloneVDI. If possible I would output the clone to a different drive. You can then set the cloned drive aside as a backup to use if disk repairs cause you to lose the VM. Make a copy of the .vbox file too: you must not attempt to use this directly, but someone who knows what he's doing can use it as a useful reference.
doron
Posts: 29
Joined: 19. Aug 2009, 17:13
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Various Linux, Win7, Win10

Re: Cannot delete snapshot

Post by doron »

Thank you.
mpack wrote: Incidentally, what is drive "N:"? A truly catastrophic mistake would be to store a VM on a FATx formatted external drive. That might be what the "functionality limited" message could be about. FAT drives can't store files larger than 4GB, which might arise when merging snapshots. It could also explain poor performance.
Local drive, 6Gb/s SATA, NTFS.
mpack wrote: you must not attempt to use this directly, but someone who knows what he's doing can use it as a useful reference.
Thanks.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Cannot delete snapshot

Post by mpack »

How does a local drive come to have a letter N to identify it? Local drives are normally C and D.
doron
Posts: 29
Joined: 19. Aug 2009, 17:13
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Various Linux, Win7, Win10

Re: Cannot delete snapshot

Post by doron »

mpack wrote:How does a local drive come to have a letter N to identify it? Local drives are normally C and D.
Run -> diskmgmt.msc -> <Select Partition, RightClick> -> Change Drive Letter and Paths
Post Reply