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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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.
Shreedhar EtteCommented:
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.
10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

Shreedhar EtteCommented:
Wait patiently for the AVHD to merge with the VHD (depending on the snapshot file size, this might take a long time)
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.
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.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Server OS

From novice to tech pro — start learning today.