ESXi 6.0.0 - vmdk file locked and cannot be moved after move operation
Posted on 2016-10-08
I was moving a vm fileset (all files in the vm storage directory) and everything was moving fine until the last file - it came back with a message "unable to access file /vmfs/volumes....../vmname/vmfilename.vmdk since it is locked".
I had previously (prior to the move of files) removed the VM from inventory so it is not associated to the host.
This is an iscsi connected data source and destination.
I have rebooted not only the esx host but the storage array as well. I've done it in both orders - storage first, then host - host first, then storage.
How do I unlock this file so I can move it?