Merge branch 'master' of ssh://git-annex.branchable.com
This commit is contained in:
commit
2dfd7cccf3
4 changed files with 47 additions and 0 deletions
15
doc/forum/Can__39__t_init_git_annex.mdwn
Normal file
15
doc/forum/Can__39__t_init_git_annex.mdwn
Normal file
|
@ -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?
|
|
@ -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.
|
||||
"""]]
|
|
@ -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/`?
|
||||
"""]]
|
|
@ -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.
|
||||
"""]]
|
Loading…
Add table
Reference in a new issue