From 285a4b2103db01c3822571a1316b35182637e84e Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 4 Feb 2015 15:34:45 -0400 Subject: followup and retitle --- ...___and___39__.panfs__42____39___being_created.mdwn | 2 ++ ...omment_1_833cf2db9881a401a3d5db6d4f3c450a._comment | 19 +++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 doc/bugs/huge_multiple_copies_of___39__.nfs__42____39___and___39__.panfs__42____39___being_created/comment_1_833cf2db9881a401a3d5db6d4f3c450a._comment diff --git a/doc/bugs/huge_multiple_copies_of___39__.nfs__42____39___and___39__.panfs__42____39___being_created.mdwn b/doc/bugs/huge_multiple_copies_of___39__.nfs__42____39___and___39__.panfs__42____39___being_created.mdwn index 76ae3646f..4e62fa758 100644 --- a/doc/bugs/huge_multiple_copies_of___39__.nfs__42____39___and___39__.panfs__42____39___being_created.mdwn +++ b/doc/bugs/huge_multiple_copies_of___39__.nfs__42____39___and___39__.panfs__42____39___being_created.mdwn @@ -28,3 +28,5 @@ Clone a git annex repo on a network file system, run # End of transcript or log. """]] + +[[!meta title="git-annex and NFS don't mix; could git annex init detect NFS and refuse to use it?"]] diff --git a/doc/bugs/huge_multiple_copies_of___39__.nfs__42____39___and___39__.panfs__42____39___being_created/comment_1_833cf2db9881a401a3d5db6d4f3c450a._comment b/doc/bugs/huge_multiple_copies_of___39__.nfs__42____39___and___39__.panfs__42____39___being_created/comment_1_833cf2db9881a401a3d5db6d4f3c450a._comment new file mode 100644 index 000000000..430e26f5f --- /dev/null +++ b/doc/bugs/huge_multiple_copies_of___39__.nfs__42____39___and___39__.panfs__42____39___being_created/comment_1_833cf2db9881a401a3d5db6d4f3c450a._comment @@ -0,0 +1,19 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 1""" + date="2015-02-04T19:31:32Z" + content=""" +git-annex uses posix file locking to avoid scenarios that could +otherwise result in data loss when dropping a file. + +This indeed involves keeping a file open and locked while removing it. + +Since NFS's posix file locking support ranges from poor to completely +broken, it's not wise to use git-annex over NFS at all. It's much nicer +to use it locally, with a git remote accessing the file server over +eg, ssh. + +I can't see any changes to git-annex that could improve its handing +of NFS, unless there's a good way to detect a NFS filesystem and make +`git annex init` refuse to set up a repository there. +"""]] -- cgit v1.2.3