Pcornel
Storage · Deduplication

Deduplication Fundamentals

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

Back to the Topic

Answer

Deduplication identifies repeated data by hash and keeps one copy plus references. It works best with highly redundant data like backups and VDI, and needs RAM or fast media for its index.

Remember

  • Dedup keeps one copy and replaces repeats with references.
  • Backups and VDI deduplicate well; media and databases do not.
  • Losing the dedup metadata can lose all references.

First checks

  • Get-DedupStatus | fl SavedSpace,OptimizedFilesCount — Windows
  • zdb -S <pool> — simulate ZFS dedup
  • restic stats --mode raw-data — backup repo dedup

Verify in this order

data → chunks → hashes → unique 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=4296

Confirmation

Confirm action

Continue?