Solved

AVHDX file still exists in Virtual Hard Disk folder of VM, after Checkpoint has bee removed

Posted on 2014-10-20
4
8,573 Views
1 Endorsement
Last Modified: 2014-10-22
I have removed the Checkpoint for the VM on a Hyper-V 2012 R2 Host machine.  However, when checking the folder, Virtual Hard Disks, the *.avhdx file is still there.  It is huge, 182 gb.  The VM's *.vhdx file is 214 gb.  How can I remove the *.avhdx file to make more room?   Do I need to run a PowerShell Command to remove it?
1
Comment
Question by:OdneyTech
  • 2
  • 2
4 Comments
 
LVL 56

Expert Comment

by:Cliff Galiher
ID: 40392568
Have you removed *all* the checkpoints? You can chain them or have multiples after all. And have you verified the status isn't still "merging?" Or is the VM itself set up yo use a differencing disk? Those are also avhd. Hyper-v is very good at cleaning up after itself. If the file is still there, I'd strongly suspect it is still in use.
0
 

Author Comment

by:OdneyTech
ID: 40392654
They Hyper-V Manager shows all the Checkpoints are removed.  It has finished merging since I removed them on Saturday.  The VM is not setup to use a differencing disk.
0
 
LVL 56

Accepted Solution

by:
Cliff Galiher earned 500 total points
ID: 40392678
Well, if it were me, I'd shut down the VM. Rename the avhd, and restart the VM. Look for missing/lost data or errors, and if all is well, move the avhd off the system to cold storage and eventually delete it.
0
 

Author Closing Comment

by:OdneyTech
ID: 40397012
The suggestion Cliff Galiher had given worked for me.  Before I did it, I opened the Hyper-V Manager and under Actions, I inspected the disk, or ahvdx file.  I have not seen errors or missing data.  However, these two articles did help me with my decision and provided ma a backup plan.
https://social.technet.microsoft.com/Forums/en-US/83adb645-0aea-4475-8bab-1827080f7ff0/data-recover-from-snapshot-file-avhdx
http://itproctology.blogspot.com/2008/06/how-to-manually-merge-hyper-v-snapshots.html
0

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently, I was assigned the task of performing a hardware refresh in the datacenter. The previous Windows 2008 systems were connected to the SAN via fiber channel HBA’s and among other thing, had PowerPath installed in order to provide sufficient f…
Understanding the various editions available is vital when you decide to purchase Windows Server 2012. You need to have a basic understanding of the features and limitations in each edition in order to make a well-informed decision that best suits y…
In this Micro Tutorial viewers will learn how they can get their files copied out from their unbootable system without need to use recovery services. As an example non-bootable Windows 2012R2 installation is used which has boot problems.
In this Micro Tutorial viewers will learn how to restore their server from Bare Metal Backup image created with Windows Server Backup feature. As an example Windows 2012R2 is used.

895 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