VirtualBox

Opened 13 years ago

Closed 8 years ago

#9431 closed defect (obsolete)

Failed to delete snapshot...Hard disk has more than one child hard disk" (again)

Reported by: Bob Kosch Owned by:
Component: virtual disk Version: VirtualBox 4.1.0
Keywords: snaphot Cc:
Guest type: Linux Host type: Windows

Description (last modified by aeichner)

Unable to merge differencing disks from snapshot created natively in the same version of VBox.

Screen captures and VBoxSVC log attached.

Attachments (4)

VBoxSVC.log (4.4 KB ) - added by Bob Kosch 13 years ago.
Capture.PNG (192.8 KB ) - added by Bob Kosch 13 years ago.
Virtual Media Manager.PNG (210.6 KB ) - added by Bob Kosch 13 years ago.
VBoxSVC.2.log (2.1 KB ) - added by guntbert 13 years ago.
shows the unability to delete a snapshot on 4.1.2 r73507

Download all attachments as: .zip

Change History (14)

by Bob Kosch, 13 years ago

Attachment: VBoxSVC.log added

by Bob Kosch, 13 years ago

Attachment: Capture.PNG added

by Bob Kosch, 13 years ago

Attachment: Virtual Media Manager.PNG added

comment:1 by Thomas, 13 years ago

I am also encountering this problem.

comment:2 by Armand Welsh, 13 years ago

I have 4.1.0 as well. I have deleted all but one snapshot from one of my Virtual machines, and just one snapshot is causing this error for me too.

comment:3 by Bob Kosch, 13 years ago

Anecdotally this issue, which was such an everyday occurrence in 4.1.0, has not yet occurred in 4.1.2.

Whether that's due to intrinsic improvements to shapshot algorithms themseslves, or due to the fact that the UI on Windows x64 no longer crashes regularly in the middle of performing snapshot operations, I don't know.

4.1.0 was, to be brutally honest, a bug-riddled, regression-filled "release" I'd rather forget.

comment:4 by Bob Kosch, 13 years ago

Exact same issue occurs in latest version 4.1.2, for the same reason (a service crash right in the middle of performing Delete Snapshot operations, leaving orphaned files). Just not as frequently as the bug-riddled 4.1.0.

These quickly grow in size, making the usual "just delete the little one" approach, something which always struck me as an absolutely ridiculous suggestion, dangerous or impossible.

In VMM, the indented differencing disk is frequently not attached, while the non-indented differencing disk is attached.

What in blazes do you expect the average user to do here in order to collapse the state of the VM?

comment:5 by Armand Welsh, 13 years ago

I have also noticed taking a snapshot from command line and forgetting to add --pause causes the vm to crash. I wonder if this is what is causing these bad snapshots. Either way I am still trying to learn how to delete my on lost snapshot image

comment:6 by Bob Kosch, 13 years ago

The illogical paradox in the VMM GUI I described in follow-up(for which I have screen captures as absolute proof) reversed itself to the expected behavior with absolutely no action on my part.

Therefore I think it is unwise to trust the GUI at all, and may be safer to try to recover from whatever VirtualBox has managed to inflict on itself, something the average user encounters on a regular basis, something the developers evidently find it so hard to reproduce, by cloning the current-state vdi by UUID, detaching the original virtual disk, and reattaching the cloned disk.

by guntbert, 13 years ago

Attachment: VBoxSVC.2.log added

shows the unability to delete a snapshot on 4.1.2 r73507

comment:7 by guntbert, 13 years ago

In my case creating and trying to delete the snapshot took both place on the same VBox version (4.1.2) - so the problem is definitely not fixed.

comment:8 by dyle, 12 years ago

Here is the very same issue for VirtualBox 4.1.4 and it is pretty annoying.

But as I tend to delete the old snapshots and use the latest one, I rename the whole machine, make a clone, name the clone the original one and delete the former buggy machine. That helps in some cases though ugly.

comment:9 by kenkyee, 11 years ago

This bug is possibly a dup of bug 7461.

Still happens with latest 4.2.12 if you run out of disk space. You'll get an orphaned snapshot.

comment:10 by aeichner, 8 years ago

Description: modified (diff)
Resolution: obsolete
Status: newclosed

Please reopen if still relevant with a recent VirtualBox release.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use