Bad file descriptor error message on Linux repository with mounted NFS

KB ID:
1741
Product:
Veeam Backup & Replication
Version:
6.x, 7
Published:
Last Modified:
2014-10-17

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

Please be aware that we’re making changes which will restrict access to product updates for users without an active contract.

OK

Rate the quality of this KB article: 
4.5 out of 5 based on 10 ratings

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:

Submit