I've cloned a .vmdk file using vmkfstools -i and now I can't delete the new file. I've tried deleting the new file from the datastore browser and using vmfsktools.
When trying to delete from the datastore browser, I get this message:
"Cannot delete file [DATASTORE] myfile.vmdk"
Using vmfsktools -U to delete gives me this error message:
"Unable to delete virtual disk : Error caused by file /vmfs/volumes/1234567-1234567-424-1234567dfad/myfile.vmdk"
I've restarted the ESXi 4 server which cloned the original file and also restarted the VMware Management Assistant but still could not remove the file.
My setup: vCenter 4 with two ESXi 4 servers connected to a SAN via fibre.
How do I delete this file?
If the file is locked, how can I see what has locked it?