https://login.veeam.com/en/oauth?client_id=nXojRrypJ8&redirect_uri=https%3A%2F%2Fwww.veeam.com%2Fservices%2Fauthentication%2Fredirect_url&response_type=code&scope=profile&state=eyJmaW5hbFJlZGlyZWN0TG9jYXRpb24iOiJodHRwczovL3d3dy52ZWVhbS5jb20va2IxOTQyIiwiaGFzaCI6IjMxN2Q3ZWExLTQxNTItNDVmMi1hNTcxLTZjZDU5YWQ4YTEyMCJ9
1-800-691-1991 | 9am - 8pm ET
EN

Failed to lock file on VM PowerOn (SureBackup\Instant Recovery)

Challenge

SureBackup or Instant VM Recovery fails with an error relating to failure to power on.
 
The SureBackup log file contains the following error:

 
Info     [VimApi] PowerOffVM, type "VirtualMachine", ref "vm-xxxx"
Error    SureBackup operation has been failed  
Info     [VimApi] PowerOffVM, type "VirtualMachine", ref "vm-xxxx"
Error    SureBackup operation has been failed  
Error    Failed to lock the file

Cause

The following are the two most common causes of this issue:
  1. ​A disk exclusion has been configured in the job, but the “Remove excluded disks from VM configuration” option was not enabled when the job ran. Causing the references to those disks to have not been removed from the backed up VM’s VMX.
  2. Disks that are configured as Independent Disks were automatically excluded by the job, but the job needs to be configured to exclude them manually and have the “Remove excluded disks from VM configuration” option enabled.

Solution

If any disks are configured to be excluded the “Remove excluded disks from VM configuration” option must be enabled within the disk exclusions section for the backup job. Any disk that is configured on the VM as Independent must be excluded from the job, and the “Remove excluded disks from VM configuration” option enabled.
 
http://helpcenter.veeam.com/backup/70/vsphere/backup_job_excludes_vm.html

More information

If the issue persists after having properly configured the backup job, the ‘ItemsCache’ for the vPower NFS Server may need to be cleaned up. 

To do this remove all keys except 41 from HKLM\Software\Wow6432Node\VeeamNFS\ItemsCache

Then restart the server acting as the vPower NFS Server.

User-added image

 
KB ID:
1942
Product:
Veeam Backup & Replication
Version:
6.x, 7.x
Published:
2014-10-29
Last Modified:
2020-08-13
Please rate how helpful this article was to you:
5 out of 5 based on 1 ratings
Thank you for helping us improve!
An error occurred during voting. Please try again later.

Couldn't find what you were looking for?

Below you can submit an idea for a new knowledge base article.
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!

Spelling error in text

Knowledge base content request
By submitting, you agree that your personal data will be managed by Veeam in accordance with the Privacy Policy.
Your report was sent to the responsible team. Our representative will contact you by email you provided.
We're working on it please try again later