#1 Global Leader in Data Resilience

Bad file descriptor error message on Linux repository with mounted NFS

KB ID: 1741
Product: Veeam Backup & Replication
Version: 6.x, 7
Published: 2013-03-20
Last Modified: 2020-08-13
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

When using Linux repository with mounted NFS as a backup storage, the backup job may fail with "failed to lock file" errors:
 
[14.03.2013 13:57:13] < 65541> ERR |Bad file descriptor
[14.03.2013 13:57:13] < 65541> >> |Failed to lock file [/storage/backups/job.vbk].

Cause

Some specific storages don't support flock() file locking with their NFS implementation so the workaround is to disable flock() on the mount with nolock parameter. If it doesn't help, then please change nfsvers=4 to nfsvers=3, it should help.
This issue is particularly known for DataDomain storage.

Solution

Use the following command to mount NFS:
mount -t nfs -o nolock,hard,intr,nfsvers=3,tcp,bg xxx.xxx.xxx.xxx:/aa/bb /dd/storage/backup

More Information

You can find more information about NFS-options for DataDomain here: https://community.emc.com/docs/DOC-30123
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

This site is protected by hCaptcha and its Privacy Policy and Terms of Service apply except as noted in our Privacy Policy.
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

By submitting, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Notice.
This site is protected by hCaptcha and its Privacy Policy and Terms of Service apply except as noted in our Privacy Policy.
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.