Pcornel
Storage · Data Integrity

Silent Data Corruption

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

Back to the Topic

Answer

Silent data corruption is data that changes without any error being reported, from firmware bugs, misdirected writes, bad RAM or bit rot. Only checksumming file systems or storage detect it.

Remember

  • Caused by firmware bugs, misdirected writes, bad RAM or bit rot.
  • Only checksums detect it.
  • Restore from a known-good copy.

First checks

  • zpool status -v — CKSUM errors
  • dmesg | grep -i -e 'checksum' -e 'csum' — Btrfs/ZFS messages
  • edac-util -v — RAM errors

Verify in this order

bad data written/read → no device error → checksum mismatch

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=4313

Confirmation

Confirm action

Continue?