I accidentally deleted some files from a running VM.
Followed some instructions to recreate the descriptor file. I still had the flat file and the .vswp files.
Got the guts to try a reboot from within the OS, and it worked.
Then went to ESXi and restarted the VM from there. That worked too!
However when I check the data store I don't see some of the files that are in other VM folders. (.nvram, etc.) Of course there a no log files.
I never rebooted this machine while the descriptor was gone, but now I have no idea if it is really fixed.
Are a couple of reboots all I need to check?
This is the only thing in the VM's data store.
-rw------- 1 root root 12.0G Mar 15 16:41 Apps-938afc05.vswp
-rw------- 1 root root 200.0G Jul 31 20:56 Apps-flat.vmdk
-rw------- 1 root root 497 Jul 31 20:21 Apps.vmdk
-rw------- 1 root root 0 Mar 15 16:41 Apps.vmx.lck
-rw------- 1 root root 110.0M Mar 15 16:40 vmx-Apps-2475359237-1.vswp