1-800-691-1991 | 9am - 8pm ET
EN

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

KB ID: 1942
Product: Veeam Backup & Replication
Version: 6.x, 7.x
Published: 2014-10-29
Last Modified: 2020-08-13

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

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

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Your report was sent to the responsible team. Our representative will contact you by email you provided.

Oops! Something went wrong.

Please try again later.

KB Feedback/Suggestion

By submitting, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Policy.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Thank you for your interest in Veeam products!
We've sent a verification code to:
  • Incorrect verification code. Please try again.
An email with a verification code was just sent to
Didn't receive the code? Click to resend in sec
Didn't receive the code? Click to resend

ty icon

Thank you!

We have received your request and our team will reach out to you shortly.

OK

error icon

Oops! Something went wrong.

Please try again later.