diff options
4 files changed, 47 insertions, 0 deletions
diff --git a/doc/forum/Can__39__t_init_git_annex.mdwn b/doc/forum/Can__39__t_init_git_annex.mdwn new file mode 100644 index 000000000..85be0e107 --- /dev/null +++ b/doc/forum/Can__39__t_init_git_annex.mdwn @@ -0,0 +1,15 @@ +It seems I can't initialize git annex: + + $ git annex init "files2" + init files2 + pre-commit hook (/Volumes/project/annex/.git/hooks/pre-commit) already exists, not configuring + + git-annex: waitToSetLock: failed (Operation not supported) + failed + git-annex: init: 1 failed + $ + + + `project` is a remote file server connected via `smb://`. + + Any ideas why and how to fix? diff --git a/doc/forum/Can__39__t_init_git_annex/comment_1_a294b5e7e52aa9f66a708866be16f137._comment b/doc/forum/Can__39__t_init_git_annex/comment_1_a294b5e7e52aa9f66a708866be16f137._comment new file mode 100644 index 000000000..2dd0575ec --- /dev/null +++ b/doc/forum/Can__39__t_init_git_annex/comment_1_a294b5e7e52aa9f66a708866be16f137._comment @@ -0,0 +1,10 @@ +[[!comment format=mdwn + username="http://joeyh.name/" + ip="4.152.246.8" + subject="comment 1" + date="2012-10-16T02:52:26Z" + content=""" +The smb:// is a red flag to me. git-annex relies on POSIX file locking, and I'll bet smb does not provide that, or, perhaps, your samba server needs a configuration change to support it. + +You might consider putting your git annex repository on the local filesystem, and setting up a [[special_remote|special_remotes]] on smb. The [[special_remotes/directory]] special remote is a likely choice. +"""]] diff --git a/doc/forum/Can__39__t_init_git_annex/comment_2_fcf678d5188821d63b4c9ea5b59474a8._comment b/doc/forum/Can__39__t_init_git_annex/comment_2_fcf678d5188821d63b4c9ea5b59474a8._comment new file mode 100644 index 000000000..c3596a518 --- /dev/null +++ b/doc/forum/Can__39__t_init_git_annex/comment_2_fcf678d5188821d63b4c9ea5b59474a8._comment @@ -0,0 +1,13 @@ +[[!comment format=mdwn + username="https://www.google.com/accounts/o8/id?id=AItOawnZ0g2UAijV7RGrKtWPljCCAYHBJ3pwPvM" + nickname="Meng" + subject="comment 2" + date="2012-10-16T03:19:43Z" + content=""" +Thanks for getting back so quick; So, after doing + + git annex initremote smb type=directory directory=/Volumes/subproject/ encryption=none + git annex describe smb \"smb://XXXhost.com/subproject\" + +What else do i need to do? Do i need to `git init` and/or `git annex init` in `/Volumes/subproject/`? +"""]] diff --git a/doc/forum/Can__39__t_init_git_annex/comment_3_c83f7dea7d5304e226e52eb3c43ef14a._comment b/doc/forum/Can__39__t_init_git_annex/comment_3_c83f7dea7d5304e226e52eb3c43ef14a._comment new file mode 100644 index 000000000..c7680bc93 --- /dev/null +++ b/doc/forum/Can__39__t_init_git_annex/comment_3_c83f7dea7d5304e226e52eb3c43ef14a._comment @@ -0,0 +1,9 @@ +[[!comment format=mdwn + username="http://joeyh.name/" + ip="4.152.246.8" + subject="comment 3" + date="2012-10-16T04:12:55Z" + content=""" +Nope, you're set with just those two commands. You can now do things like \"git annex copy --to smb\" +to put files there, and \"git annex get\" will get files from there as necessary. +"""]] |