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

Bad file descriptor error message on Linux repository with mounted NFS


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].


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.


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

More information

You can find more information about NFS-options for DataDomain here:
KB ID: 1741
Product: Veeam Backup & Replication
Version: 6.x, 7
Published: 2013-03-20
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.

ty icon

Thank you!

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


error icon

Oops! Something went wrong.

Please go back try again later.