Welcome to MSDN Blogs Sign in | Join | Help

Jeff Nuckolls {Application Platform and Development Tools}

Here you'll find a little of everything as it relates to the Microsoft Application Platform (Biztalk, Visual Studio Developer tools, SQL Server, Windows, .NET development/architecture, etc...). I may even touch on WSS/MOSS from time-to-time. While my blogs are widely applicable to all verticals, I'm dedicated to the Education vertical (K-12 and Higher Education).
Hyper-V error: "failed to remove snapshot" when deleting...

Interesting little error I got while attempting to Delete Snapshot Subtree in Hyper-V Manager.  I was able to delete every snapshot, but the first one in my tree which would then throw this error message ('MySnapshot' unable to remove snapshot...).  It did not appear in Event Viewer, just the message window and it appears that (so far) I'm the only one to come across this as there is no mention of it on the blog-o-sphere or internally at Microsoft, so it was a bit difficult to diagnose.  That just goes to show that I must have been doing something really wrong!  :-)  In fact I was... the problem was that I accidentally created 2 VMs referencing the same VHD (it would be nice if the 'New Virtual Machine Wizard' would have caught this up front).  Once I fixed this the error message no longer appeared and I was able to delete snapshots freely.

BTW... in case anyone else struggles with what exactly 'Delete Snapshot Subtree' does.  It should probably be renamed to 'Flatten Snapshot Subtree' or 'Merge Snapshot Subtree' because that is exactly what it does... merge and flatten snapshots in the subtree, it doesn't technically delete any of the changes you did in those snapshots, in fact it merges them and flattens them into the parent snapshot or VHD whichever is parent to the snapshot you select when you click 'Delete Snapshot Subtree'.  For example, if you wanted to do the following, then selecting 'Delete Snapshot Subtree' on snapshot1 would merge/flatten all subtree snapshots into the VHD in case you wanted to burn it to DVD or put it on a fileshare... you don't have to include the n# GB of snapshots, just the all-inclusive VHD.

clip_image002

Posted: Wednesday, June 04, 2008 5:49 PM by jeffnuck
Filed under:

Comments

No Comments

Leave a Comment

(required) 

(required) 

(optional)

(required) 

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Page view tracker