To fix this error, we need to find the source of a lock and release it. For this, the initial step is to identify the locked files. First, using an SSH client, connect to the ESXi host for the problem VM. Now, go to the directory with the virtual machine files: cd /vmfs/volumes/VMFS_DATASTORE_NAME/LOCKED_VM
15.07.2020 · We use Acronis and after verifying the Acronis Appliances did not have a lock on the system and after powering off and migrating, etc., etc. I removed it from inventory and re-registered the .vmx file and I was able to consolidate the disk. That was after running command line commands to check for locked files of which it said there weren't any.
Jun 15, 2021 · Expand all the Hard Disk (s). Select the Hard Disk (s) which belong to the virtual machine that has the problem. Click on the X beside the Hard Disk to unmount the Hard Disk from the VM. Caution: Do NOT select Delete files from the datastore. Click OK. Consolidate the snapshot on the VM. For more information, see Consolidate Snapshots.
06.05.2020 · You just need to unmount those disks from the backup server in question and then you’ll be able to consolidate your VM. If its not locked by another VM, then you can release the lock by restarting the management agents. /etc/init.d/hostd restart /etc/init.d/vpxa restart Hopefully one of those releases your lock and you can then consolidate your VM.
Jun 18, 2021 · Consolidation failed with the errors similar to: Failed to lock the file or One or more disks are busy. or Unable to consolidate virtual machine snapshots due to file lock. or Unable to access file since it is locked. The virtual machine summary tab display messages similar to: snapshot consolidation required. or
Jul 16, 2020 · We use Acronis and after verifying the Acronis Appliances did not have a lock on the system and after powering off and migrating, etc., etc. I removed it from inventory and re-registered the .vmx file and I was able to consolidate the disk. That was after running command line commands to check for locked files of which it said there weren't any.
Shutdown guest OS and power off VM (it's not always possible to do this but I could here) · Create a new snapshot · "Delete All" snapshots · vMotion to another ...
Aug 03, 2021 · If you are still unable to consolidate / power on your virtual machine, open a support request with VMware. For more information, see How to file a Support Request in Customer Connect (2006985) . Troubleshooting locked virtual disks on NFS volumes
May 06, 2020 · To check the progress, on the host that the VM currently resides run the following command to get the name of the consolidating disk process. vim-cmd vimsvc/task_list. It will give you the name of the process, something like vim.Task:haTask-469-vim.VirtualMachine.consolidateDisks-69773984.
18.06.2021 · Failed to lock the file or One or more disks are busy. or Unable to consolidate virtual machine snapshots due to file lock. or Unable to access file since it is locked. The virtual machine summary tab display messages similar to: snapshot consolidation required. or Virtual machine disks consolidation is needed. or
03.08.2021 · Locked virtual disks can occur as a result of, but is not limited to the following: The common reason would be a powered on virtual machine contains locks on all files in use by the owning ESXi host to facilitate read and write access. Other locks may be created by hot-adding disks to snapshot based backup appliances during the backup process.