meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
linux:fs:ext4 [2020/06/02 19:29] – niziak | linux:fs:ext4 [2024/11/15 10:57] (current) – niziak | ||
---|---|---|---|
Line 3: | Line 3: | ||
====== Fragmentation viewers ====== | ====== Fragmentation viewers ====== | ||
- | [[https:// | ||
- | [[http:// | ||
+ | * [[https:// | ||
+ | * [[http:// | ||
+ | |||
+ | ====== deduplication ====== | ||
+ | |||
+ | Not supported. Duplicated files can be removed and hardlinkied using 3rd party software: | ||
+ | * rdfind is a program to find duplicate files and optionally list, delete them or replace them with symlinks or hard links; | ||
+ | * jdupes - can convert duplicate files in hardlinks or relative softlinks | ||
+ | * fslint - GUI tool (deprecated) | ||
+ | * [[https:// | ||
+ | * rmlint | ||
+ | * Nice feature to save state: [[https:// | ||
+ | * Can save checksums to xattr for faster consecutive runs [[https:// | ||
+ | |||
+ | |||
+ | Not for ext4: | ||
+ | * duperemove | ||
+ | |||
+ | ===== rmlint ===== | ||
+ | |||
+ | <code bash> | ||
+ | rmlint /BIG/POOL --progress --xattr -c sh:hardlink --size 1M | ||
+ | </ | ||
+ | |||
+ | Tools doesn' | ||
+ | Please review script, especially function '' | ||
+ | Function needs to hande errors a bit better - it first removes file without backup, and then if error occurs during hardlink there is no way back. | ||
+ | |||
+ | <file diff rmlint.patch> | ||
+ | 1c1 | ||
+ | < #!/bin/sh | ||
+ | --- | ||
+ | > #!/bin/sh -eu | ||
+ | 192a193 | ||
+ | > mv " | ||
+ | 194a196 | ||
+ | > rm ~" | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | ===== rdfind ===== | ||
+ | |||
+ | <code bash> | ||
+ | rdfind . -dryrun | ||
+ | </ | ||