Link to home
Start Free TrialLog in
Avatar of LemonCalvin
LemonCalvin

asked on

VM shown as Unknown (inaccessible) ESXI 5.0

Issue = Esxi 5.0 Hosting two vm's. One VM shown as Unknown (inaccessible) stored on the local datastore. Although unknown/inaccessible, that vm continues to run w/o issues and is accessible via RDP. On the same host but in shared storage (another host), the other vm looks and runs fine. I saw this post < https://www.experts-exchange.com/questions/28436360/vm-shows-unknown-inaccessible-after-iscsi-datastore-power-failure.html > but it did not provide a resolution. I removed the vm from inventory and created another one but it failed to start saying the VMDK file was locked and the vm could not be started. I think i'm going about the wrong way trying to restore a vm that somehow still running but not showing in inventory anywhere. Any help will be much appreciated. Please let me know if you need more information to help me with and/or understand the above issue. Thank you all!
SOLUTION
Avatar of Chirag Nagrekar
Chirag Nagrekar
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of LemonCalvin
LemonCalvin

ASKER

Its not showing the vm, I removed it from inventory and tried to re-add it but that was a no-go so its not there anymore. It is still running, is there a way to migrate just the files then spin it back up?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi,

You have to re-register this VM in your inventory.
I removed the vm from inventory and created another one but it failed to start saying the VMDK file was locked and the vm could not be started
it seems you tried to create a new VM and add the VMDK of the existing running VM. You cannot do that if existing VM is running, this is normal behaviour.
In vsphere, browse your local datastore where your running VM is stored, right click on .vmx file and select Register VM... option
R@f@r P@NC3R - I tried Option1 but I was still in the same situation because the vm was still not present. I was not able to try Option 2 because this is our exchange production server. It's a great option to try when I can schedule some down time, possibly this weekend.

Mr Tortur - I was able to re-register the vm back to the host via vCenter. I now get the msg that there is not enough space on the datastore to start the vm. There is 8.09gb of space available. This same vm has run with just 2gb of space available for about a year and its currently running but the icon appears as if its powered off.

I'm not sure what else to try except for R@f@r P@NC3R's Option#2.
Insufficient-Disk-Space.png
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
After spending quite a bit of time with a VMware tech and $300 later, the final solution was (as I thought it would be) reregistering the VM back to the host then rebooting the host then powering on the VM. I'm not sure why, but the tech did lots of middling around with SSH, checking shared storage and other settings before applying the above solution. As far as freeing up space, he did attempt to delete some old VM files from non-existent VM's but they were locked by vmnic0. Even after rebooting the host with the vm's powered off, we were unable to delete the files so I'm still stuck with 12gb of space left on the host. He asked that I put in another ticket since he couldn't help me with that. So, my initial problem is resolved and I thank you for your assistance.
The final solution was (as I thought it would be) reregistering the VM back to the host then rebooting the host then powering on the VM.