> KB 1213

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

KB ID: 1213
Products:
Version: 5
Published:
Created: 2011-09-13
Last Modified: 2013-10-01

Challenge:

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. Note: This may cause a temporary "stun" period, so take necessary maintenance precautions if necessary. IE http://www.veeam.com/kb1681
  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.
 

How helpful is this article:
Rating: 4 / 5 (7 votes cast)
‹‹ Back to knowledge base search

Report a typo on this page:

Please select a spelling error or a typo on this page with your mouse and press CTRL + Enter to report this mistake to us. Thank you!