In a project we where starting an action to export a VM to an OVF file. We launched the export from the vSphere WebClient. During the export action the file stream failed and we cancelled the export action. Because we where running into a time restriction with the allowed time frame we wanted to boot the machine so it would be available to the end users.
Once we booted the machine we received the following error: File system specific implementation of Ioctl[file] failed. This resulted in not being able to boot the machine.
Together with VMware Support we where able to resolve this issue by identifying what was locking this VM files, and remove the lock.
With the command lsof | grep vm name we get a list of the current locks on the files for this VM. In the above screenshot you can see that the vpxa process is still locking the files. The process that is locking the VM files (vpxa) is the vCenter Agent Services.
With the kill –9 67866
The –9 switch means, the process will be killed by the kernel. This command cannot be ignored by the OS.
After the kill command we run the lsof command to be sure that the process is gone. We are now able to boot the machine.