tips/git-annex on NFSgit-annexhttp://git-annex.branchable.com/tips/git-annex_on_NFS/git-annexikiwiki2016-09-21T20:15:38Zcurrent status?http://git-annex.branchable.com/tips/git-annex_on_NFS/comment_1_e2e99f2c484597c0d314ae597be078c3/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s- [me.yahoo.com/a]2016-09-06T14:11:24Z2016-09-06T14:11:24Z
<p>Hi Joey,</p>
<p>Since this issue is > year old, and some fixes/workarounds were done to how locking mechanisms, could you please update on the status of "NFS support". Thank you in advance</p>
comment 2http://git-annex.branchable.com/tips/git-annex_on_NFS/comment_2_06f2ee5095cd35063a434560375e172e/joey2016-09-21T20:15:38Z2016-09-21T19:28:36Z
<p>git-annex will probe to detect if the filesystem does not support FIFOs and
disables <code>annex.sshcaching</code> in that case. It's done so since 2013. So I would
be surprised if NFS had any problems with annex.sshcaching.</p>
<p><code>git config annex.pidlock true</code> will make git-annex avoid FCNTL locking,
and so work on filesystems that don't support that. It should also
avoid the ".nfs" files.</p>
<p>It's not enabled by default on NFS because I don't currently have a good
way to probe if a given directory is on NFS.</p>
<p>Also, annex.pidlock makes git-annex significantly slower and less safe.
But if you're using NFS, speed and safety must have already been
de-prioritized.</p>
<p>Seriously, my main advice for using git-annex on NFS is:
Don't. Make local clones of repositories and use git-annex to distribute
the files around. Unless your institution forces you to use a networked
filesystem to access gobs of disk space, and you need to have more files
present in a repository than will fit locally.</p>