moving Hyper V storage

Posted on 2014-03-23
Last Modified: 2014-11-12
I have a SBS 2003 virtual machine running on Server 2012 HyperV.  It was migrated from P to V via .vhd files transferred by external HDD.  
Currently the server is running, and in production as the DC, but the .vhd files are still on the external storage.
There is one vhd file for each partition, one 25gb file and one 210gb file.  The 250gb of data takes about 5 hours to transfer over USB.
What are the options for moving the data to the host server, which it is currently attached to?
If I select 'move' command, and choose 'move only virtual machine storage', I can select the two vhd files and also specify the destination.  Can I perform the migration while this VM is still running?   If I shut down the VM for the storage migration, it is the DC.  Am I going to have any issues interfacing with HyperV manager or accessing any of the domain resources, including the host server, while the DC is powered off?
How would you migrate the data?
Question by:AE_JB
  • 4
  • 3
LVL 80

Expert Comment

by:David Johnson, CD, MVP
ID: 39949416
The 250gb of data takes about 5 hours to transfer over USB. Have you heard of USB 3.. it is a lot faster.

Server 2012 the machines must be stopped to migradte server 2012R2 you can do a live migration.
LVL 38

Assisted Solution

by:Philip Elder
Philip Elder earned 500 total points
ID: 39949427
Your best option is to down the VM, COPY & PASTE the VHD files into the correct folder on the Hyper-V server, EDIT the VM's Settings, REMOVE the VHD first, then select the VHD via BROWSE in the new location. Repeat for both.

You will need to wait for the file transfer.

Please do not CUT & PASTE and also take a backup of the VM prior to making any changes.


Author Comment

ID: 39950572
The ext. drive is 3.0 and the host server may have a 3.0 port, so it may take less time than the 2.0 upload.

Server 2012 the machines must be stopped to migradte server 2012R2 you can do a live migration
I think you are saying that if the VM is Server 2012R2 then I can do a live migration, but Server 2003 cannot do a live migration..?  I am somewhat farmilliar with the process and would have preferred to do a live migration.

This the type of transfer I was assuming I would have to do.  If I had done it before the VM was placed online, it would have been alot easier..
So, I will shut down the VM.  Once it is stopped, I will COPY the two .vhd files on the ext. HDD to the destination folder on the host server.  I will then verify the files are on the host.  Then, open the properties of the VM in hyper v manager, remove the original vhd files, and add the moved files which are now on the host server.

The connections during the migration are the main issue.  I had connection issues during the cutover, when there was no DC online, I was unable to connect to the virtual machine, even though it was running.  I was also unable to open an RDP connection to the host server.  If I need to, I can probably shut down all non essential services, and bring the old physical server online during the maintenance.
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.


Author Comment

ID: 39963714
What about the extra VHd files in the folder. Each partition now has an additional VHd file with a long string appended to the name. I think these are part of the snapshot?  Do I need to move them too?

Author Comment

ID: 39963741
I can see that they are .avhd files with the strings. I have already deleted the snapshots in hyper v manager but the files are still there.
LVL 38

Accepted Solution

Philip Elder earned 500 total points
ID: 39964050
Oh oh. You need to merge those guys back into the parent VHD. That's going to take _a LONG_ time on USB storage. :(

How to here on TechNet:

Edit: Move the parent and AVHD files to local storage and run the merge according to the above.


Author Closing Comment

ID: 39969164
The merge took less than 10 min.  HV manager is now running off the vhd file.  Copied it to host computer ok.
LVL 38

Expert Comment

by:Philip Elder
ID: 39969766
Glad to hear it! :)



Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

It Is not possible to enable LLDP in vSwitch(at least is not supported by VMware), so in this article we will enable this, and also go trough how to enabled CDP and how to get this information in vSwitches and also in vDS.
Optimized for private cloud infrastructures and datacenters, Nano Server is minimalistic, yet super-efficient, OS for services such as Hyper-V and Hyper-V cluster. Learn how you can easily deploy Nano Server and unlock its power!
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…
In this video tutorial I show you the main steps to install and configure  a VMware ESXi6.0 server. The video has my comments as text on the screen and you can pause anytime when needed. Hope this will be helpful. Verify that your hardware and BIO…

680 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