On 2023-11-03 13:23, jdd@dodin.org wrote:
Le 03/11/2023 à 12:30, Andrei Borzenkov a écrit :
On Fri, Nov 3, 2023 at 11:52 AM jdd@dodin.org <jdd@dodin.org> wrote:
If I understand well, btrfs deduplication works with links (the removed
You are mistaken. It works on data extent level and has nothing to do with links. You are probably confused by the "link" in "reflink".
my problem is this part
https://btrfs.readthedocs.io/en/latest/Deduplication.html#file-based-dedupli...
where reflink is only part of the use. I may have to experiment
the tool I need would replace duplicates files with symlinks (not necessarily with btrfs) so spâce is got but files are still where they belong :-)
"traditional" filesystem independent deduplication replaces identical files with hardlinks (not softlinks). These can be rsynced, IF you tell rsync to keep links. OPTIONS="--archive --acls --xattrs --hard-links --sparse --stats --human-readable " Windows filesystem do not support them. Maybe recent ntfs. Some compressed archives can respect them. -- Cheers / Saludos, Carlos E. R. (from openSUSE 15.5 (Laicolasse))