- Backup vendors should review their respective backup workflows to ensure that all VMDKs attached to proxy VMs during backup are reliably detached upon job completion. It is crucial that the backup process prevents any locks from remaining on base or delta disks after the backup.
- The backup solution should ensure every disk is closed, to free the lock on ESX hosts after the disk open.
- The backup solution should ensure every disk is closed before deleting the snapshot for backup.
- It is recommended there are no additional snapshot operations (except backup snapshot) are running during backup . It's easy hit unexpected issues if the backup solution runs backup job for a VM with multiple snapshots,
- If the backup job is somehow killed/crashed, proper cleanup should be implemented to recover by calling VDDK functions
VixDiskLib_Cleanup, VixDiskLib_EndAccess, etc.
Workaround:
If you hit issues with file locks left over by backup solutions, please follow instructions in Investigating Virtual Machine file locks on ESXi Host(s)