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