Storage · Deduplication
Inline Deduplication
Cheat sheet · https://pcornel.dk/topic.php?topic=4297
Answer
Inline deduplication removes duplicates as data is written, so duplicate blocks never hit disk. It saves capacity and write wear immediately but adds latency and CPU on every write.
Remember
- Saves capacity and write wear immediately.
- Adds latency to every write.
- Needs fast lookups of block hashes.
First checks
zpool get dedupratio <pool>— ZFS inlinearray inline data reduction— ratioiostat -x 1— write latency impact
Verify in this order
write → hash lookup → reference or 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=4297