Please describe the problem.

I have 2 indirect mode repos, both on network filesystems, that I have only used for adding data on one end, then syncing via git annex sync and git annex get. The problem is that.nfs copies are being made for each git annex object data file, e.g:


Reading up on .nfs files, they are generated when "an open file is removed but is still being accessed".

What steps will reproduce the problem?

Clone a git annex repo on a network file system, run git annex sync , git annex drop , git annex get

What version of git-annex are you using? On what operating system?

  • git-annex version: 5.20140818-g10bf03a
  • fedora 13
  • 2.6.32-279.22.1.el6.x86_64 centOS

Please provide any additional information below.

# If you can, paste a complete transcript of the problem occurring here.
# If the problem is with the git-annex assistant, paste in .git/annex/daemon.log

# End of transcript or log.

closing because annex.pidlock exists, and git-annex init checks if FCNTL locking works, and if not, enables it. So if the NFS server does not support FCNTL locking at all, it will use pidlock automatically. And if the NFS server does support locking, there does not seem to be a good way to probe that it's NFS and enable annex.pidlock. --Joey