Veeam Support Knowledge Base

Unable to access file [unspecified filename] since it is locked


KB ID: 1213
Product: .
Version: 5
Published: 2011-09-13
Created: 2011-09-13
Last Modified: 2013-05-23

Problem:

VMware holds a lock on the snapshot file while it is being consolidated. If there is an issue during this process, it is possible for further snapshots to be unable to consolidate, causing removal failures.

You receive warnings that the snapshot removal process failed because '<unspecified filename>' is locked. Specifically:

RemoveSnapshot failed, snapshotRef "snapshot-xxx", timeout "3600000"
Unable to access file <unspecified filename> since it is locked



Cause:

There are two possible causes:
 

  1. The VMware host held a lock on that snapshot, typically due to a communication error between Veeam and the host/VC.

  2. Virtual Appliance mode failed to unmount hot-added disks, which prevents the snapshot from being commited.



Solution:
The solution varies based on the cause.

If the VMware host held a lock on that snapshot:

  1. Restart the management agents on that host
  2. Create a snapshot manually
  3. Perform a "Delete All" operation
  4. This should clear the snapshot(s) present
If the Virtual Appliance mode failed to unmount hot-added disks:
  1. Remove all hot-added disks from the Veeam VM
  2. Create one snapshot manually
  3. Perform a "Delete All" operation


More Information:

If the first problem occurs frequently, it is worth checking both the network connection between Veeam and the source host, as well as the overall load on the source host at the time the backup typically finishes.
 


<< Back to knowledge base search