Storage · Deduplication
File-level Deduplication
Cheat sheet · https://pcornel.dk/topic.php?topic=4300
Answer
File-level deduplication (single-instance storage) stores identical whole files only once. It is cheap to run but misses duplicates when only part of a file differs.
Remember
- Single-instance storage saves only exact duplicate files.
- It is cheap in CPU and memory.
- A one-byte change makes the file unique.
First checks
fdupes -r <dir>— find duplicate filesGet-DedupStatus— file + chunk (Windows)hardlink/jdupes --link— file-level dedup
Verify in this order
file → hash → single instance
Where it usually breaks
First mismatch in media/provider → controller/pool → logical object → path/protocol → filesystem/share/object namespace → consumer workload; preserve identity/pre-state before mutation.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4300