You can't import a virtual machine created on Windows 2008 R2 into a server running Windows 2012 R2. There's some aspect that's incompatible.
Here's what worked best for me:
Stop the old VM on the Win 2008 R2 machine
Copy the VHD file to the Win 2012 R2 machine
Create a new virtual machine and tell it to connect to an existing virtual disk
Choose the VHD you moved
If you get error 0×80070569 like I did when you try to complete the new VM wizard, restart the Hyper-V Virtual Machine Management per this page:
http://www.wolffhaven45.com/blog/hyper-v/hyper-v-error-0x80070569/
Showing posts with label VHD. Show all posts
Showing posts with label VHD. Show all posts
Tuesday, July 14, 2015
Monday, March 3, 2014
Snapshots taking up tons of space on VM host machines
I found myself in a situation where I had a 1 TB drive on a VM host (running Windows 2008 R2) with four virtual machines on it that was completely out of space. I found that there were tons of AVHD files taking up a lot of room. Per what I read, these are snapshot files, even though I deleted the snap shots from the Hyper-V Manager (and cleared up a dozen GB or so), the snapshots were not truly gone.
This page talks a little bit about the process:
http://blogs.msdn.com/b/charles_sterling/archive/2008/08/06/what-are-all-these-avhd-files-hyper-v.aspx?Redirected=true
But in the end, I got the space back by just turning off the virtual machines. When I did so, there was a merge process that went on with the snapshots. In a turned off machine, this just happens automatically. In the end, I turned off the machines and left them off until the "cancel merge in progress" went away. For my largest VM (approx 400 GB of storage), this took about 4 hours.
This is what the cancel merge in progress looks like:
This page talks a little bit about the process:
http://blogs.msdn.com/b/charles_sterling/archive/2008/08/06/what-are-all-these-avhd-files-hyper-v.aspx?Redirected=true
But in the end, I got the space back by just turning off the virtual machines. When I did so, there was a merge process that went on with the snapshots. In a turned off machine, this just happens automatically. In the end, I turned off the machines and left them off until the "cancel merge in progress" went away. For my largest VM (approx 400 GB of storage), this took about 4 hours.
This is what the cancel merge in progress looks like:
Labels:
AVHD,
cancel merge in progress,
Hyper-V,
snapshot,
snapshots,
VHD,
virtual machine,
VM
Subscribe to:
Posts (Atom)