summaryrefslogtreecommitdiff
path: root/doc/bugs/not_possible_to_have_annex_on_a_separate_filesystem.mdwn
blob: e9a3ee95a495f8b9dc91ae76d4e499745f04553e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
I belive I have found a regression.

Inspired by 
<http://git-annex.branchable.com/forum/performance_improvement:_git_on_ssd__44___annex_on_spindle_disk/>
I tried to only have .git/annex/objects (also tested moving .git/annex) on NFS while having the rest on local SSD disk.

But when trying to add files i get:

     > git annex add testfile
    add testfile (checksum...) 
    git-annex: testfile: rename: unsupported operation (Invalid cross-device link)
    failed
    git-annex: add: 1 failed

I have tried both using bind-mount and with a sym-link.

> I don't think this was a reversion; the forum post doesn't really
> indicate it ever worked.
> 
> Grepping for `renameFile` and `createLink` will find all the places
> in git-annex that assume one filesystem. These would have to be changed
> to catch errors and fall back to expensive copying.
> 
> Putting a separate repository on the file server could work better
> depending on what you're trying to do. --[[Joey]]