Ok, so one of our users used up all the disk space on a VM and made the VM unusable and "orphaned" I got a message that said to retry, or cancel (can't remember the exact message) but i was unable to ping the machine or get into it so I chose cancel. This is one it went into the "orphaned" stage. I then removed it from inventory and tried to add it back in. But now when it comes back it says "invalid".
How do I get this VM up and running again so I can either delete files or increase the disk space?
Thanks!
I would restart the management agents of the ESXi Host in which the guest is registered. This should clear the orphaned object and then you should be able to add it to inventory.
I had one of these the other day. Sometimes, removing (and by "remove", I mean "move to a directory called crap/ until you are certain") some files fix the problem.
Specifically they were:
.hlog, nvram, vmxf
Source was the last comment here:
http://communities.vmware.com/thread/156330
Cheers
Tim
Restart the ESXi Management Agents/ ESX, then you remove the invalid object inventory and adding back to the hosts, it's should be fine. But if there are failure to power-on, you require to delete the nvram,hlog and swap file on the VM's affected. In worst case, you may need to recreating the .vmx file and attached to the existing vdisk.