From fd40063bbf3930d883ca5132272eded905f302b2 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawkYmMFDdf3GJ9Oba6NCVkzGc4JyB9WavMs" Date: Sun, 29 Dec 2013 15:20:28 +0000 Subject: [PATCH] --- ..._NOT_use_ntfs-3g_on_mac_osx_for_annex.mdwn | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 doc/forum/DO_NOT_use_ntfs-3g_on_mac_osx_for_annex.mdwn diff --git a/doc/forum/DO_NOT_use_ntfs-3g_on_mac_osx_for_annex.mdwn b/doc/forum/DO_NOT_use_ntfs-3g_on_mac_osx_for_annex.mdwn new file mode 100644 index 0000000000..16750a1fb2 --- /dev/null +++ b/doc/forum/DO_NOT_use_ntfs-3g_on_mac_osx_for_annex.mdwn @@ -0,0 +1,41 @@ +After testing around git-annex on my mac using ntfs-3g to access the removable harddrive, I conclude that this is very dangerous. + +Here are some example error snippets: + + add man/man1/git-tar-tree.1 + git-annex: /Volumes/SeagateExpansion/annex/testdirect/.git/annex/objects/0K/JJ/SHA256E-s3805--948fd508a364e036ec28f5287d11825062aea2c0ed86a3a89ed871edc6ddc7a8.1/: openTempFile: interrupted (Interrupted system call) + failed + + add man/man1/git-bundle.1 + git-annex: /Volumes/SeagateExpansion/annex/testdirect/.git/annex/tmp/e3f_804_SHA256E-s8739--569a4b4fe1072e17ff0aa9a2f67d0130b9ec3ed23f96c5a4ea38ada82f50b4aa.1.log: rename: does not exist (No such file or directory) + failed + + add git-core/git-completion.bash failed + add man/man7/gitglossary.7 failed + (Recording state in git...) + + git-annex: /Volumes/SeagateExpansion/annex/testdirect/.git/annex/journal/.fuse_hidden00005dd50000010a: removeLink: does not exist (No such file or directory) + failed + git-annex: add: 3 failed + +It's interesting that after each git-annex add ., it would got fewer failures. But in the end it stuck at 2 files. After 60 times doing: git-annex add . + +It went from this: + + git-annex: add: 248 failed + +to this: + + git-annex: add: 2 failed + +Now the repository has 246 objects, let's try to convert it into an indirect one: + + git-annex indirect + ... + git-annex info + ... + annexed files in working tree: 9 + +Only 9 files made into the indirect repository! Remaining files stay as original state. Now it would be a nightmare to try to recover form this mess. + +I discourage anyone from using ntfs-3g on mac for annexing. Especially direct & indirect mode. Bare repo seems to be fine however.