Error when deleting snapshot

Discussions related to using VirtualBox on Windows hosts.
Post Reply
thany
Posts: 108
Joined: 24. Dec 2008, 02:35

Error when deleting snapshot

Post by thany »

Just ran into this error when trying to delete a snapshot:

Code: Select all

Failed to delete the snapshot 20140203 of the virtual machine Windows XP IE8.

Hard disk 'D:\Virtual Machines\Windows XP IE8\Windows XP IE8.vdi' has more than one child hard disk (2).

Result Code: E_FAIL (0x80004005)
Component: SessionMachine
Interface: IMachine {480cf695-2d8d-4256-9c7c-cce4184fa048}
The snapshot tree is as follows:
- 20140203 (13 days ago)
- - 20140217 (1 minute ago)
- - - Current state

The first one is the one I'm trying to delete.
I think the error is wrong, there isn't more than one child harddisk. If it refers to child *snapshots*, then no - as you can see. But in the other case, the VM has exactly one harddisk.

Using VirtualBox 4.3.6 on Windows 7 x64.
I'm probably running the latest everything. Yolo.
thany
Posts: 108
Joined: 24. Dec 2008, 02:35

Re: Error when deleting snapshot

Post by thany »

This problem didn't seem to get resolved in 4.3.8, so this is still happening.

How to fix?
I'm probably running the latest everything. Yolo.
thany
Posts: 108
Joined: 24. Dec 2008, 02:35

Re: Error when deleting snapshot

Post by thany »

Now that I added a third snapshot to the tree, I'm able to delete the second one. Just not the first one as described.
I'm probably running the latest everything. Yolo.
thany
Posts: 108
Joined: 24. Dec 2008, 02:35

Re: Error when deleting snapshot

Post by thany »

Here's an excerpt from the corresponding .vbox file:

Code: Select all

<HardDisks>
  <HardDisk uuid="{46b92b42-5b60-4325-9b7c-964d711447c4}" location="Windows XP IE8.vdi" format="VDI" type="Normal">
    <HardDisk uuid="{eb1a273c-100f-4bfa-8c29-fd9b8a7e9401}" location="Snapshots/{eb1a273c-100f-4bfa-8c29-fd9b8a7e9401}.vdi" format="VDI"/>
    <HardDisk uuid="{f25ce340-1efe-4537-a7c8-3814e32d8e20}" location="Snapshots/{f25ce340-1efe-4537-a7c8-3814e32d8e20}.vdi" format="VDI">
      <HardDisk uuid="{d5c47172-d65b-407b-9eb9-092eaf2e51b4}" location="Snapshots/{d5c47172-d65b-407b-9eb9-092eaf2e51b4}.vdi" format="VDI"/>
    </HardDisk>
  </HardDisk>
</HardDisks>
One of those files doesn't exist. Why is it still there? Why is the file gone? Why does VirtualBox not fix this like I can? It shouldn't be too hard to fix this for the next release, so please do.
I'm probably running the latest everything. Yolo.
Post Reply