Problem – VMware Unable to access file since it is locked
I recently had a problem where the backup of one of my VMware vSphere Guest servers created a 400Gb snapshot and filled up the datastore.
After deleting the offending snapshot VMware informed me I needed to consolidate the disks. When attempting to consolidate the disks I keep receiving the following notification;
“Unable to access file since it is locked. An error occurred while consolidating disks: One or more disks are busy.”
First I shut down the server that had was running the backup job that triggered the issue, but that did not make a difference for me.
Next I found the host the guest was running on and using the hosts console restarted the Management Agents. After that I could then successfully consolidate the disks.