Hyper-v Snapshot deleted but AVHD not merging

I have a Hyper-v Server that has one VM on it. The Snapshot has been deleted from the Hyper-V manager, and shows no snapshots, but if you look under Snapshots it still has a massive AVHD file that is growing out of control. I need to merge this file, but don't know how I can do this manually as I always usually do it by shutting down the VM, deleting the snapshot, restarting the VM and it automatically merges, but it didn't happen this time. I need help, because that AVHD is growing fast.
rgjutroAsked:
Who is Participating?
 
rgjutroAuthor Commented:
I finally resolved all of the issues. After using
http://itproctology.blogspot.com/2008/06/how-to-manually-merge-hyper-v-snapshots.html

to merge the AVHD and VHD, I had to remove the VM from the Hyper-V Manager and add it back using the New function. You act as if you're going to create a new VM and at some point it will ask you if you want to use an existing VHD, which is where you select your VHD.  It booted it up fine, but you'll need to reconfigure your NIC and other basic settings you normally setup during a new VM install.  If you get an error message when you change your VM IP from Dynamic to Static, saying that IP is already in use by another Adapter, just reset the TCP/IP stack using

netsh int ip reset c:\resetlog.txt

in command line.

0
 
rgjutroAuthor Commented:
I wanted to say when you look under the Snapshots directory under Explorer you still see the AVHD, not inside the Hyper-V Manager.
0
 
Shreedhar EtteCommented:
0
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

 
rgjutroAuthor Commented:
This might help. I've merged snapshots several times before, but no matter how long I leave the VM turned off it never tries to merge. It usually would try to merge when I would restart the VM and then talk about 45 mins, but the process never kicks off. Never had this problem.
0
 
Shreedhar EtteCommented:
Wait patiently for the AVHD to merge with the VHD (depending on the snapshot file size, this might take a long time)
0
 
rgjutroAuthor Commented:
No amount of time would merge those files.  I've seen the merge process a hundred times, and it's just not doing. Normally in Hyper-V manager would show it Merging and the percentage, but that's not the case.  I left the VM down all night, 12 hours, and it never merged. The VM is only 80 GB, and the AVHD was only 16 GB, so it should have only taken less then an hour.  I ran this process..

http://itproctology.blogspot.com/2008/06/how-to-manually-merge-hyper-v-snapshots.html

and that merged the AVHD, but then the VHD was corrupt. It started, but generated a ton of errors and could not be seen on the network. I restarted the VM in Safe Mode, and kicked off a checkdisk. Once the checkdisk ran, it came up. Now I'm running into issues with trying to change the IP. Here's the article that relates.

http://support.microsoft.com/kb/269155/en-us


I've followed this article but it hasn't fiex it yet. I'll update once I'm done or if anyone knows anything else plelase let me know.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.