We had an issue where we had to manually restart our VM server due to a hardware issue. Once the host was back up, I attempted to power on one of our VMs and received the following error:
- An error occurred while creating temporary file for /vmfs/volumes/5a4cf63c-6357d2b8-5276-b49691125884/WIN2012TEMPLATE/WIN2012TEMPLATE.vmx: The file already exists
- Cannot open the configuration file /vmfs/volumes/5a4cf63c-6357d2b8-5276-b49691125884/WIN2012TEMPLATE/WIN2012TEMPLATE.vmx.
- Failed to start the virtual machine (error -18).
A similar posting described the same issue and it pointed to a lack of space on the datastore as a possible issue. This does not apply as there is currently over 600 GB of free space on that volume.
Another responded by recommending creating a new VM and pointing to the existing vmdk on the datastore.
I did see this specific file when I SSH into the server and navigated to the directory:
From what I understand, the copy of the vmx file with the tilde extension is the temp file that is already existing, but when I try to delete the file with the rm command it keeps saying there is no such file or directory.
Any other recommendations on what I can do to resolve this issue ASAP? Thanks in advance.
