Deduplication
Cheat sheet · https://pcornel.dk/topic.php?topic=4295
Answer
Deduplication stores identical blocks or files only once and replaces repeats with references, saving large amounts of space for backups and VM images at the cost of CPU, RAM and metadata overhead.
Remember
- Dedup pays off for backups and VDI, rarely for general file shares.
- The dedup table must fit in RAM or fast media, or writes slow sharply.
- Compressed or encrypted data deduplicates poorly.
First checks
zpool list— ZFS dedup ratioGet-DedupStatus— Windows deduparray data reduction report— ratio
Verify in this order
write → hash → existing? reference : store
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=4295