On 03.11.2023 15: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...
It describes how data which should be deduplicated is selected. btrfs does not have any built-in means to deduplicate anything (except as side effect of snapshots), so deduplication works by selecting some data, analyzing it and then replacing identical data by pointer to the same data in some other place. You may chose to deduplicate only between some files or the whole filesystem content.
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 :-)
thanks jdd