Can anyone help me with this issue?
cannot remove `filename.vmdk': Device or resource busy
This is what happened. I imported a machine using vmware converter, booted it up, and was installing some software on guest, during the installation progress all of a sudden the virtual machine just shut down and I cannot power it back on. So I decide to delete the files that are associated with it using virtual center. But when I check on the vmfs the files are still there and everytime I try to delete .swp and the .vmdk files using the command line I get the above error message.
You are going to have to check what processes are still running against that particular vm.
Log onto the ESX server service console
Find the pid (process id) of the vm by using esxtop.
You can then use the kill -9 pid command.
Good Luck