Virtual machines display a "Virtual machine disk consolidation is needed" warning. In the vCenter Server "Recent Tasks" pane, the "Remove Snapshot" task may complete, but the subsequent "Consolidate virtual machine disk files" task fails.
Failed to lock the file. Consolidation failed for disk node 'scsi0:1': Failed to lock the file. Consolidation failed for disk node 'scsio:O':
Failed to lock the file. Consolidation failed for disk node 'scsi0:0': Failed to lock the file.
VMware vSphere 7.x
VMware vSphere 8.x
The failure is caused by a resource bottleneck on the backup proxy. If the backup appliance is configured to handle more concurrent tasks than the allocated vCPU resources on the proxy virtual machine (e.g., 32 tasks assigned to a proxy with only 16 vCPUs), the proxy cannot process the snapshot commit requests within the required timeframe. This leads to timeouts in the vSphere API calls responsible for disk consolidation.
To resolve this issue, align the backup proxy resources with the workload volume: