#1 Global Leader in Data Resilience

"Failed to lock file" NFS Repository with Datadomain Storage

KB ID: 1741
Product: Veeam Backup & Replication | 10 | 11 | 12 | 12.1 | 12.2 | 12.3 | 12.3.1
Published: 2013-03-20
Last Modified: 2025-04-23
mailbox
Get weekly article updates
By subscribing, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Notice.

Cheers for trusting us with the spot in your mailbox!

Now you’re less likely to miss what’s been brewing in our knowledge base with this weekly digest

error icon

Oops! Something went wrong.

Please, try again later.

Challenge

A task for attempting to send backups to a Datadomain NFS share that is either added directly as an NFS Repository or mounted to a Linux intermediary server as a Linux repository fails with the error:

Processing <VM_name> Error: Input/output error
Failed to lock file [/mnt/path/to/backup.vbk].
Failed to open storage for read/write access. Storage: [/mnt/path/to/backup.vbk].
--tr:Failed to upgrade/fix the storage

Cause

Datadomain NFS shares do not support flock() file locking with their NFS implementation and must be mounted using nolock parameter.

Solution

NFS Repository using Linux Gateway

For NFS Repositories using a Linux gateway server, create the following registry value to configure the default NFS mount parameters that will be used with the specified NFS share.

Key Location: HKLM\SOFTWARE\Veeam\Veeam Backup and Replication
Value Name: NfsLinuxMountOptions
Value Type: Multi-String Value (REG_MULTI_SZ)
Value Data(Default): rw,soft,timeo=600,retrans=5,intr

Notes:

  • The default parameters are: rw,soft,timeo=600,retrans=5,intr
  • This registry setting is a full override of the default NFS mount parameters, be mindful of the parameters you specificy (hint: include the defaults if you aren't sure).
  • Each row in the multi string value is a seperate share with its own mount parameters.
    Example:
    10.0.0.120:/backups;rw,soft,timeo=600,retrans=5,intr,nolock
    10.0.0.121:/backups;rw,soft,timeo=600,retrans=5,intr,nolock
    10.0.0.122:/backups;rw,soft,timeo=600,retrans=5,intr,nolock
    

 

Linux Repository with NFS Share Mounted

For Linux repositories where the datadomain NFS share has been directly mounted, update the mount parameters in the /etc/fstab to include nolock.

To submit feedback regarding this article, please click this link: Send Article Feedback
To report a typo on this page, highlight the typo with your mouse and press CTRL + Enter.

Spelling error in text

Thank you!

Thank you!

Your feedback has been received and will be reviewed.

Oops! Something went wrong.

Please, try again later.

You have selected too large block!

Please try select less.

KB Feedback/Suggestion

This form is only for KB Feedback/Suggestions, if you need help with the software open a support case

Veeam Backup & Replication
Veeam Data Cloud for Microsoft 365
Veeam Data Cloud for Microsoft Entra ID
Veeam Data Cloud for Salesforce
Veeam Data Cloud for Microsoft Azure
Veeam Data Cloud Vault
Veeam Backup for Microsoft 365
Veeam Backup for Microsoft Entra ID
Veeam Backup for Salesforce
Veeam ONE
Veeam Service Provider Console
Veeam Agent for Microsoft Windows
Veeam Agent for Linux
Veeam Backup for Nutanix AHV
Veeam Backup for AWS
Veeam Backup for Microsoft Azure
Veeam Backup for Google Cloud
Veeam Backup for Oracle Linux Virtualization Manager and Red Hat Virtualization
Veeam Management Pack for Microsoft System Center
Veeam Recovery Orchestrator
Veeam Agent for Mac
Veeam Agent for IBM AIX
Veeam Agent for Oracle Solaris
Veeam Cloud Connect
Veeam Kasten for Kubernetes
By submitting, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Notice.
Verify your email to continue your product download
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
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

error icon

Oops! Something went wrong.

Please, try again later.