From 8b76e284a872bb2a6a61d28038aa28e632b09701 Mon Sep 17 00:00:00 2001 From: Mowgli Date: Wed, 21 Nov 2018 19:01:11 +0000 Subject: [PATCH] Added a comment: reflink and subvolume --- ...ment_15_a1ce74ef47a0512bc56ff323c2c03c75._comment | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 doc/tips/local_caching_of_annexed_files/comment_15_a1ce74ef47a0512bc56ff323c2c03c75._comment diff --git a/doc/tips/local_caching_of_annexed_files/comment_15_a1ce74ef47a0512bc56ff323c2c03c75._comment b/doc/tips/local_caching_of_annexed_files/comment_15_a1ce74ef47a0512bc56ff323c2c03c75._comment new file mode 100644 index 0000000000..b69daf7d89 --- /dev/null +++ b/doc/tips/local_caching_of_annexed_files/comment_15_a1ce74ef47a0512bc56ff323c2c03c75._comment @@ -0,0 +1,12 @@ +[[!comment format=mdwn + username="Mowgli" + avatar="http://cdn.libravatar.org/avatar/17ab194dddf7b7da59ec039cbb3ac252" + subject="reflink and subvolume" + date="2018-11-21T19:01:11Z" + content=""" +It doesn't work well if the source of the copy is in a btrfs subvolume and the cache is in another subvolume of the same filesystem. + +With that setup every file is really copied instead of using reflink=always. + +I solved it currently by copying .git/annex/objects manual into the cache (`cp -a --reflink=always .git/annex/objects ~/.cache/annex/` and afterwards doing the git annex cp which recognice the existence of the objects. +"""]]