Pcornel
Storage · Deduplication

Inline Deduplication

Cheat sheet · https://pcornel.dk/topic.php?topic=4297

Back to the Topic

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 inline
  • array inline data reduction — ratio
  • iostat -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

Confirmation

Confirm action

Continue?