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

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

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
KB ID: 1741
Product: Veeam Backup & Replication
Version: 6.x, 7
Published: 2013-03-20
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.
We're working on it please try again later
Knowledge base content request
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.

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 go back try again later.