Home | Site Map | Cisco How ToNet How To | Wireless |Search | Forums | Services | Donations | Careers | About Us | Contact Us|

Problem of copying Hyper-V issue on Windows 2008 R2

Active Directory, Domain, DNS, WINS, DHCP, SBS, New Releases.

Problem of copying Hyper-V issue on Windows 2008 R2

Postby blin » Mon Nov 28, 2016 2:55 pm

One of our clients is running windows 2008 R2 as hyper-v host. VM is windows 2003 with MS sql 2005. After they copied the vhd from C drive to D drive, and change the vhd location from C to D, The VM runs fine. However, the sql server sees only sql data dated 01/04/2016 and before. It doesn’t show any current data.

Now, they re-attach the original vhd on C drive. They still have the same problem and only see the data dated before 01/04/2016.

The Hyper-v snapshots shows (4/21/2016). Is it something to do with the snapshots? If yes, how can we fix it?
Attachments
hyper-v-1.png
hyper-v-1.png (17.9 KiB) Viewed 1134 times
How to Configure and Troubleshoot Cisco
http://www.howtocisco.com

Tablet and Smartphone Setup Guide
http://www.quicksetupguide.com
blin
Site Admin
 
Posts: 3618
Joined: Wed Dec 31, 1969 7:00 pm
Location: Chicago, USA

Re: Problem of copying Hyper-V issue on Windows 2008 R2

Postby blin » Mon Nov 28, 2016 2:59 pm

It looks like the VM has 2 checkpoints and you mentioned “change the vhd location from C to D”. It seems that we cannot change the vhd location when there is any checkpoints available (please see below screenshots in my lab. I don’t have a Server 2008 R2 hyper-v host available, the screenshots are from Server 2012 R2, however, the process is similar. If necessary, I will try to build the hyper-v host of Server 2008 R2)
Attachments
hyper-v-2.png
How to Configure and Troubleshoot Cisco
http://www.howtocisco.com

Tablet and Smartphone Setup Guide
http://www.quicksetupguide.com
blin
Site Admin
 
Posts: 3618
Joined: Wed Dec 31, 1969 7:00 pm
Location: Chicago, USA

Re: Problem of copyinh Hyper-V isse on Windows 2008 R2

Postby blin » Mon Nov 28, 2016 3:01 pm

Commonly, if we want to change the vhd location, we need to delete all the checkpoints (this will merge the changes into the vhd file), shutdown the virtual machine, move/copy the actual file, edit the vhd location, and then power on the virtual machine again.
Attachments
hyper-v-4.png
hyper-v-3.png
figure 3
hyper-v-3.png (6.25 KiB) Viewed 1117 times
How to Configure and Troubleshoot Cisco
http://www.howtocisco.com

Tablet and Smartphone Setup Guide
http://www.quicksetupguide.com
blin
Site Admin
 
Posts: 3618
Joined: Wed Dec 31, 1969 7:00 pm
Location: Chicago, USA

Re: Problem of copyinh Hyper-V isse on Windows 2008 R2

Postby blin » Mon Nov 28, 2016 3:05 pm

1. Deleting the checkpoint doesn't fix the problem.

2. I find a way to merge .avhd and .vhd, but I may not do it right. It still have the same problem.
How to Configure and Troubleshoot Cisco
http://www.howtocisco.com

Tablet and Smartphone Setup Guide
http://www.quicksetupguide.com
blin
Site Admin
 
Posts: 3618
Joined: Wed Dec 31, 1969 7:00 pm
Location: Chicago, USA

Re: Problem of copyinh Hyper-V isse on Windows 2008 R2

Postby blin » Mon Nov 28, 2016 3:06 pm

1. Re-switching the settigns back to the original .vhd located in C drive doesn't fix the problem.

2. Deleting the checkpoint doesn't fix the problem and .avhd doesn't merge with .vhd. In other words, we still have two .avhd files and one .vhd file.

3. Then we go to Edit Disk to merge .avhd file into .vhd. After the mering, we have only one .vhd file. However, that doesn't fix the problem.

Not sure what to do next.
How to Configure and Troubleshoot Cisco
http://www.howtocisco.com

Tablet and Smartphone Setup Guide
http://www.quicksetupguide.com
blin
Site Admin
 
Posts: 3618
Joined: Wed Dec 31, 1969 7:00 pm
Location: Chicago, USA

Re: Problem of copyinh Hyper-V isse on Windows 2008 R2

Postby blin » Mon Nov 28, 2016 3:07 pm

The recommended process for changing the vhd location is to merge the snapshots, shutdown the virtual machine, copy the vhd file to another volume, edit the location from the virtual machine property, and then run the virtual machine. If everything is working for some days, we can remove the original vhd file.

It seems we made some changes when there is still snapshots available, which may cause data loss and cannot get back. So we suggest to back-up the server and then try some suggestions. Though the suggestions don’t work, we still have the chance to roll it back to the original state and then seek the help from some premier support.

Currently, based on my testing, from the server manger UI, it seems that there is no way to change the vhd location when the virtual machine has snapshots. Could you kindly show us how did we perform this? After knowing that, we’ll try our best to replicate it in the lab to see if there is any chance to make it work. Thanks for your kind understanding.

In addition, if our problem is business-critical, it is suggested that you submit a service request to MS Professional tech support service so that a dedicated Support Professional can further assist with this request.

We now provide different service offerings to meet diverse customer needs, and we take every service request from our customers seriously no matter which offering (forum, chat, email, phone, etc.) is selected. You can select Professional Email-based Support or Professional Phone-based Support.

The following web site for more detail of Professional Support Options and incident submission methods is for your reference:

https://support.microsoft.com/en-us/hel ... ne-numbers
How to Configure and Troubleshoot Cisco
http://www.howtocisco.com

Tablet and Smartphone Setup Guide
http://www.quicksetupguide.com
blin
Site Admin
 
Posts: 3618
Joined: Wed Dec 31, 1969 7:00 pm
Location: Chicago, USA

Re: Problem of copyinh Hyper-V isse on Windows 2008 R2

Postby blin » Mon Nov 28, 2016 3:08 pm

We used the backup to restore it
How to Configure and Troubleshoot Cisco
http://www.howtocisco.com

Tablet and Smartphone Setup Guide
http://www.quicksetupguide.com
blin
Site Admin
 
Posts: 3618
Joined: Wed Dec 31, 1969 7:00 pm
Location: Chicago, USA


Return to Windows

Your Ad Here

Who is online

Users browsing this forum: Google [Bot] and 3 guests