Solved

Hyper-v Windows 2008 r2 ; deleted snapshot tree now disk full

Posted on 2014-12-12
7
475 Views
Last Modified: 2015-01-24
I deleted the snapshots-subtree and after power off all my diskspace has been eaten up. I did this for 2 virtual servers, but I cannote reclaim space, so cannot start the virtual machines anymore.

Any ideas ? I already tried to export and import the virtual machine to another drive without luck.
0
Comment
Question by:thisis_it
  • 4
  • 2
7 Comments
 
LVL 16

Expert Comment

by:Ivan
ID: 40497057
Hi there,

if I'm not mistaking deleting snapshot causes them to be merged to early created snapshot, so by doing that you have increased space used.

Maybe you can shrink it size. If there is a lot of free space on those disks (looking from within OS), then from disk management select disk (lets say drive D), right click and use shrink disk, and after that turn off VM. Go to properties of VM, select disk, go to Edit and use Shrink option. That will reduce it size for amount of space you shrink it via disk management.

Note: Do have a backup of them, such as that export you made.

Regards,
0
 

Author Comment

by:thisis_it
ID: 40497075
Hi Spriggan13. I have a backup of the latest state of the virtuals. Problem is that the first virtual server is still in the "merge in progress 10%" state, the second is in "exporting 14%" state.

Both the servers are turned off at the moment. I was already shrinking another drive with 1 TB left, but it is so slow. After half an hour I still see querying volume for available shrink space
0
 
LVL 16

Expert Comment

by:Ivan
ID: 40497176
Hi,

well..I would cancel that export of VM (click on VM and there is cancel option), and then wait for merge to finish.
When you cancel export, you can turn off that VM, and simple copy/paste that vhd to another drive, so that merge operation could finish, if there is no more space for it to complete. After that is done, try with shrink.

If you move vhd by copy and delete, you can later get it back to the same location and turn on that VM again.

If they are very large drives, then it will take a lot of time, yes.

Not sure what else to do..
0
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 

Author Comment

by:thisis_it
ID: 40497208
Spriggan13; both machines are already turned off. I can't cancel because it goes on where it left off.
0
 
LVL 38

Expert Comment

by:Philip Elder
ID: 40497561
You will need another box with available storage preferably high performance: TechNet: Manually Merge .AVHD to .VHD.

Follow the process by copying off the parent and then one each of the children to merge them in. Once done, copy the parent back to the host after deleting the .AVHD files.

Option: You could keep a copy of the originals just in case. And, you could mount the newly merged VHD files in a test VM on another Hyper-V host, even Windows 8, to verify it boots safely. Then copy over top the parent on the original host.
0
 

Accepted Solution

by:
thisis_it earned 0 total points
ID: 40497635
I have found the solution on another site: this guy saved my vms;

https://social.technet.microsoft.com/Forums/en-US/54c1fdd9-ad58-4fb1-9f87-bc6b7e3562f7/stuck-merge-in-progress

"If you take a snapshot and then delete it, you still need to turn that particular VM off so that the .avhd can merge to the .vhd file.  It can take a long time depending upon the speed and type of drive, size of file and I/O load on the particular disk.  Jeff is correct, if you are running out of space then you can move the .avhd file to another drive and update the VM's xml configuration file manually located in drive:\ProgramData\Microsoft\Windows\Hyper-V\Snapshots\ or ..\virtual machines\
I had a 25 GB .avhd file running on a relatively new Dell server with 15 k rpm 450 GB SCA drive.  The merge process took approx. 10 minutes.  The actual .vhd file is located on a separate physical disk.  If you have both .avhd and .vhd on same disk, the merge process may even take longer."

Sam
ForteHosting.com
0
 

Author Closing Comment

by:thisis_it
ID: 40567997
Exact solution to solve this problem
0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Should my RDS servers being virtual or physical 5 147
SpiceWorks - help desk system 2 66
Getting EventID 4625 logon failures 18 106
SBS 2011 6 42
First I will try to share a design of a Veeam Backup Infrastructure without Direct NFS Access backup. Note: Direct NFS Access backup transport mechanism is only available in Veeam v9 In above I try to design the Veeam Backup flow between i…
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

911 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

20 Experts available now in Live!

Get 1:1 Help Now