Pcornel
Storage · Data Integrity

End-to-end Checksumming

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

Back to the Topic

Answer

End-to-end checksumming verifies data from the application or file system all the way to the disk and back, as in ZFS, Btrfs or T10 PI, so corruption anywhere on the path is detected.

Remember

  • ZFS and Btrfs check data from file system to disk.
  • T10 PI protects SCSI paths.
  • It catches corruption anywhere on the path.

First checks

  • zfs get checksum <ds> — ZFS end-to-end
  • sg_readcap -l /dev/sdX | grep -i prot — T10-PI protection
  • Get-FileIntegrity <file> — ReFS

Verify in this order

filesystem checksum → write → read → verify

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

Confirmation

Confirm action

Continue?