Link to home
Create AccountLog in
Avatar of sglee
sglee

asked on

VM fails to start in Hyper-V server

User generated imageUser generated imageUser generated imageUser generated imageUser generated imageI have Windows HyperV Server 2012R2 with a virtual machine "DC1". This morning, during windows server backup, the building lost power.
When electricity was returned, DC1 VM failed to start stating that it was missing DC1_69E13A45-C913-43CA-887F-1D3481F975B8.avhdx file. But I could not find that avhdx anywhere on the hard drive. Since DC1.vhdx does exist, I tried to replace DC1_69E13A45-C913-43CA-887F-1D3481F975B8.avhdx with DC1.vhdx, but it fails.

Can I just click "Remove" button in the DC1 VM Settings screen?
Avatar of Philip Elder
Philip Elder
Flag of Canada image

Since the snapshot was created during a Windows Server Backup VSS snapshot, create a new VM shell, bind the existing .VHDX file, boot, clean-up networking, reboot. Done.
Veeam is free for under 10 VMs. I suggest going that route.
Avatar of sglee
sglee

ASKER

@Philip,

 Are you suggesting "reboot"? I have done that multiple times, but to no avail.
ASKER CERTIFIED SOLUTION
Avatar of Philip Elder
Philip Elder
Flag of Canada image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of sglee

ASKER

Basically you want me to created a new virtual machine and point the hard drive to an existing DC1.vhdx, right?
That is correct.
Avatar of sglee

ASKER

I will try it and report back.
What does REMOVE button do? Will it accomplish the same?
The existing VM has the snapshot associated with it.

Just start with a fresh VM shell.

And get a better UPS system.
Avatar of sglee

ASKER

Can I delete existing VM name "DC1" and create a new one with the same name?
Avatar of sglee

ASKER

@Philip
I created a new virtual machine "DC", pointed the hard disk to existing DC1.vhdx, started new VM and OS came up.


Thank you for your help!
Yes, once the replacement is in production you can delete the old VM.

Welcome. :)
And ... get a better UPS setup that can shut down your host. :)
Avatar of sglee

ASKER

get a better UPS setup that can shut down your host. -->  will definitely do that.
We have a number of SMT1500 and up series APC units with the network management card installed. It's important to put a server grade, sine wave specific, UPS system behind a server or set of servers.
Avatar of sglee

ASKER

Thanks for "SMT1500"  recommendation and that's is what I typically install for servers.
Awesome.