lostsoul Posted September 19, 2016 Posted September 19, 2016 Hi people In real need of some help with this one. Had power outage last night, and now our moodle server vm wont boot. Have backup of all moodle data, but not the machine, want to avoid rebuilding if I can help it. All files seem to be in the correct locations. Could permissions be corrupt? Google has not revealed much, any ideas? Thanks Nathan
round2it Posted September 19, 2016 Posted September 19, 2016 Do gpupdate /force Sounds stupid but one of my vms would not spin up until I did it. Worth a go
kevin_lane Posted September 19, 2016 Posted September 19, 2016 i've had something similar to this i couldn't sort it but i think it has something to do with the permissions of the server i.e the host vm does have access to start the vm that being said your disks should be ok and you should be able to create a new vm and just attach the disk
rob_coles Posted September 19, 2016 Posted September 19, 2016 Delete the vm and attach the existing disk. Only way I could resolve same error
lostsoul Posted September 19, 2016 Author Posted September 19, 2016 Thanks for the ideas. I was going to go with the new VM idea and attach existing disk, but this is a efi gen 2 vm, so unfortunately it's not that simple. Will pick it up in the morning, and let you know how I get on.
TwistedHelixis Posted September 20, 2016 Posted September 20, 2016 Never having needed to do this, why is it a problem to attach a GEN 2 disk???
kevin_lane Posted September 23, 2016 Posted September 23, 2016 Not being rude but it is a gen 2 vm your adding the gene disk to yea?
glen_j Posted September 23, 2016 Posted September 23, 2016 had something similar could be a permissions problem give this a try https://support.microsoft.com/en-gb/kb/2249906
lostsoul Posted September 23, 2016 Author Posted September 23, 2016 Sorry for not updating sooner. The issue was that the gen 2 machine was using uefi, and the boot info is stored on the uefi firmware of the virtual machine. If you attach the disk to a new vm, it will fail to boot. This is fixable by using a rescue disk to rewrite the boot information to the new VM. After working that bit out, found another problem. Turns out this moodle vm had a long chain of snapshots. With the VM dead I had to redo the chain, and then merge the snapshots manually. After doing that the disk would still not boot, was getting kernel panic messages. In the end I manually rebuilt the server, all back up and running now:). Important lesson learnt, don't use hyper-v snapshots in production!
cpjitservices Posted September 23, 2016 Posted September 23, 2016 Have you got more than one Hyper-V server if so you could always enforce replication.
kevin_lane Posted September 23, 2016 Posted September 23, 2016 Or use veeam glad your back up and running
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now