Quantcast
Channel: Hyper-V forum
Viewing all articles
Browse latest Browse all 19461

VM's show "Off-Critical" after replacing a hard drive

$
0
0

I'm running Windows 2012 Build 8400 as a Hyper-V server.(not core)  My boot drive is a 320GB IDE drive which is c:\.  Previously I had all my data on a secondary hard drive.(150GB Sata Raptor).  I can not remember if this was d:\ or e:\.  I had configured Hyper-V to keep all VHD's and library files on the 150GB drive.  The other day I stopped hyper-v and all vm's.. and copied them to c:\backup. 

Next I added a second 150GB Raptor hard drive to my machine booted into the motherboards cheap raid bios menu and configured the two 150gb drives as a raid 0 drive.  Booted into Windows and formatted it as e:\.  After format I copied the contents of c:\backup to the newly formatted e:\ drive.  I opened up the hyper-v settings and confirmed the vhd location was e:\, I set the library to e:\ and also tried e:\Virtual Machines, restarted the machine or just the hyper-v service but all VM's still show Off-Critical.

On the e:\ drive in the root are all the vhd's.  In e:\virtual machines there is an xml file with the guid as the name for each vm.  There is also a subfolder with the name of each GUID that is empty.

I went over:  http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/05/11/why-is-my-virtual-machine-off-critical.aspx

This seems to point at missing xml files.. but they are there.

I went over:  http://social.technet.microsoft.com/Forums/en-US/winserverhyperv/thread/cea95457-e0da-4ce0-baab-0326bdbda1b1

This seems to point at more of an issue with the xml file not correctly linking to the vhd..  I think my issue is more like Hyper-V is looking for the location of the xml files.. maybe by the old hard drives guid as opposed to drive letter?  I'm not sure where to set this though..

In C:\ProgramData\Microsoft\Windows\Hyper-V\Virtual Machines there is a bunch of xml shortcuts of 0 bytes.. if i delete them all all my vm's dissapear in the management console.. if i tried to open them up it would fail because it thought they were on d:\, I changed my e:\ to hd and d:\, modified the vhd and library paths in the hyper-v settings and restarted.. now the VM's show as off.. but when I try and turn them on "could not read or update virtual machine configuration, unspecified error:

Viewing all articles
Browse latest Browse all 19461

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>