Solved

Hyper-V Snapshot deleted incorrectly and now missing avhd. Need to try and merge.

Posted on 2012-03-12
5
1,596 Views
Last Modified: 2012-04-09
I came into an IT position at a company using Hyper-V, I didn't do any of the setup for Hyper-V, but after a paused-critical situation with Hyper-V last week I am trying to figure out how to get past the situation I am in now with one particular Virtual server.

I have a server running Windows Server 2008 Enterprise and it runs 4 Hyper-V virtual servers on it. One server is the exchange server and that is the server I am having the problem with:

I cannot delete, delete subtree, or export on this virtual server. I get the generic Snapshot failed to delete error and then it lists a virtual ID for which there is a folder, but NOT an avhd file ( I can only assume that it was deleted by the last IT person and the server has been running off of snapshots since.) I have an AVHD file that is currently over 800GB and needs to be merged with it's parent VHD file.

The server is running now and doesn't have any noticeable issues other than failures mentioned above with snapshots/merges/exports. I can create a new snapshot with no problem and I can also reboot the server with no issues....

What can I do to address this deleted AVHD file (yes I tried using recovery software in order to find the deleted file) and the lack of ability to delete/merge snapshots or export this particular virtual machine.

Thanks.
0
Comment
Question by:MitchViste
  • 3
  • 2
5 Comments
 
LVL 10

Expert Comment

by:ImaCircularSaw
ID: 37713781
I've not come across quite this issue before however, I did find this which might be of some help and seems to describe your issue:

http://scorpiotek.com/blog/?p=424

Hope this helps!
0
 

Author Comment

by:MitchViste
ID: 37714852
You would need all of the AVHD files in this example...  I am missing one. If all else fails and I get no other answer I may try this with what I do have...
0
 
LVL 10

Expert Comment

by:ImaCircularSaw
ID: 37715686
It looks like it'll work it'll just break other AVHDs in the chain.  Another route might Microsoft Virtual Machine Manager:

http://technet.microsoft.com/en-us/library/dd277881.aspx

Creating Hyper-V Virtual Machines

In Virtual Machine Manager (VMM), you can create new virtual machines from any of the following sources:

Existing virtual hard disks (VHDs)

Blank virtual hard disks

Templates

Existing virtual machines

Hyper-V virtual machines

Virtual Server virtual machines

VMware virtual machines
0
 

Author Comment

by:MitchViste
ID: 37715706
Considering it's the earliest avhd in the chain, breaking it would hose my entire server. yikes. I'll look into this next solution...
0
 
LVL 10

Accepted Solution

by:
ImaCircularSaw earned 500 total points
ID: 37715904
I've only used MSVMM to go physical to virtual but it's a great tool!  You'll be able to, on the fly, create a brand new VM from a running server.

At the very least, in addition to what you have, have you got backups?  I would recommend making sure you have external backups of mailboxes and know the connector settings so if the worst happens, you can reinstall and setup exchange.  hope you don't have to do this but at least you can be in the position to.

Another option is to set up a brand new VM from scratch and configure it the same as your existing exchange server, copy mailboxes onto it during down time then switch the MX records to point to the new server.  This would mean you can keep the existing server in place until you're happy.
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Every once-in-a-while, when you try to add a XenServer host to the System Center Virtual Machine Manager console, it will generate a certificate error, and the XenServer host will not be added to Virtual Machine Manager: If you are experiencing t…
A safe way to clean winsxs folder from your windows server 2008 R2 editions
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now