After removing a VM from the inventory of a vmware vSphere 5.5 cluster, the "Add to inventory" option is grayed out on the vmx file. The files are probably locked, as it is "Powered on". How do I add it again and start it?
Thanks!
VirtualizationvSphereVMware
Last Comment
Sekodata
8/22/2022 - Mon
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
I'm not quite sure how you were able to remove a Power On VM from the Inventory.
If the add to inventory option is grayed out, it could be the VMX file is corrupted, or it is locked.
If locked you will have to find the process which has locked the file, and remove the lock.
Why do you think it's Powered On ?
Is there a memory swap file present ?
Sekodata
ASKER
We had a SAN improper shutdown, and the vm was greyed out as inacccessible. We then removed it from inventory, and now we can't add it again. I think it is "powered on" because there's a vmx.lck file, and the swapfile is present, (3 actually)
Sekodata
ASKER
There is also a .vmx~ file present
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
If the add to inventory option is grayed out, it could be the VMX file is corrupted, or it is locked.
If locked you will have to find the process which has locked the file, and remove the lock.
Why do you think it's Powered On ?
Is there a memory swap file present ?