Storage · Deduplication
Block-level Deduplication
Cheat sheet · https://pcornel.dk/topic.php?topic=4299
Answer
Block-level deduplication splits data into fixed or variable blocks, hashes each one and stores identical blocks once. It finds duplicates inside and across files, which suits VM images and backups.
Remember
- Blocks are hashed and identical blocks are stored once.
- Variable-size chunking finds more duplicates than fixed blocks.
- The hash table needs RAM or fast media.
First checks
zdb -DD <pool>— DDT statsrestic stats --mode raw-data— chunk deduparray report— block dedup
Verify in this order
data → blocks/chunks → hash table
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=4299