Missing VM after storage failure
Posted on 2014-01-30
We had an issue with one of our Cluster Storage Volumes. After the volume came back online, all but 2 systems came back. VMM is showing the 2 VMs as Status = Missing, State = Running. Failover Cluster Manager is showing the 2 VMs as failed and I have the following critical events when I try to bring the VM online:
'Virtual Machine Configuration "computer name' failed to register the virtual machine with the virtual machine management service.
The Virtual Machine Management Service failed to register the configuration for the virtual machine 'id number' at 'C:\ClusterStorage\Volume#\computer name': The system cannot find the file specified. (0x80070002). If the virtual machine is managed by a failover cluster, ensure that the file is located at a path that is accessible to other nodes of the cluster.
Cluster resource 'Virtual Machine Configuration computer name' of type 'Virtual Machine Configuration' in clustered role 'SCVMM computer name Resources' failed. The error code was '0x2' ('The system cannot find the file specified.').
Based on the failure policies for the resource and role, the cluster service may try to bring the resource online on this node or move the group to another node of the cluster and then restart it. Check the resource and group state using Failover Cluster Manager or the Get-ClusterResource Windows PowerShell cmdlet.
I can see the VM information in the Volume that VMM thought it was located in. If I go to Hyper-v manager the VM is not listed anymore. Any ideas on how I can recover these 2 VMs? We are using VMM 2012 and our hyperv servers are running 2012 R2.