I had 2 vms this morning say (invalid state) next to them, but the odd thing is they were running fine. Just could not do a thing with them in vSphere client. One of them was actually my vcenter server and that didn't skip a beat. So I removed these two machines from inventory and then re-added them. vcenter server came back with a play (running) icon on it already, but my other machine did not. If I go to power on my other machine it complains about the failure to initialize the swap file.
fault.FileLocked.summary
Hi,
Did you try this KB
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=10051
Thanks
SA
Well it already tells me what file is locked (the vswp file), but where the heck is the lsof command so I can see what PID is holding it hostage so I can kill -9 it?
lsof : no such file or directory
Is this command not available in VMWare ESX 4.1? Can I download it from somwhere and SCP it to one of my vmware hosts?
Well how I got it booted back up was on the host running this vm, I used this command:
vm-support -x
Once I found the world id for the machine I did a
vm-support -X <worldid>
It took about 10 minutes but did its thing. When finished I was able to power on the machine again. Thanks for your help. That article was the correct article with some good information for me.
Still weird the lsof command does not exist in my installation. Oh well, I can use vm-support to figure it out. Thanks!