Use this when integrity must be verified across the whole I/O path.
End-to-end Checksumming
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.
1. End-to-end checksumming verifies data from application/filesystem to disk and back.
2. Catches controller, firmware and cable errors.
3. ZFS stores checksums in parent pointers.
4. T10-PI for SAN/enterprise disks.
5. Use where data integrity matters.
filesystem checksum → write → read → verify
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Common mistakes Narrow the fault
- Assuming RAID detects silent corruption.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- ZFS and Btrfs check data from file system to disk.
- T10 PI protects SCSI paths.
- It catches corruption anywhere on the path.
zfs get checksum <ds>— ZFS end-to-endsg_readcap -l /dev/sdX | grep -i prot— T10-PI protectionGet-FileIntegrity <file>— ReFS
ReferenceHow it works1 section · depth on demand
Reference
| System | End-to-end checksums |
|---|---|
| ZFS | Yes (always) |
| Btrfs | Yes (data and metadata) |
| ReFS | Metadata always; data with integrity streams |
| ext4/XFS | Metadata checksums only |
ReferenceImportant terms & boundaries3 sections · depth on demand
In depth
End-to-end means verified from what the application wrote to what is read back
A checksum computed at the file-system layer and verified on every read covers the whole path: RAM, HBA, cable, disk firmware and media. Per-sector ECC in the drive only covers the media.
Verifying all data, not just what is read
zpool-scrub(8) describes a scrub as reading all data in the pool and verifying every block's checksum. On mirror, raidz or dRAID vdevs, ZFS repairs damage automatically. A thorough scrub (-t) also decrypts and decompresses blocks.
# zpool scrub tank
# zpool status tank
scan: scrub in progress since Sun Nov 22 02:00:01 2026
4.21T / 9.40T scanned at 812M/s, 1.97T / 9.40T issued at 380M/s
0B repaired, 20.96% done, 05:41:12 to go
# zpool scrub -p tank # pause; state survives reboot
# zpool scrub tank # resume
# zpool scrub -w tank # wait until finished (scripts)
Scrub versus resilver (documented)
| Resilver | Scrub | |
|---|---|---|
| Reads | Only data known to be out of date | All data |
| Trigger | Device replaced or attached | Schedule or manual |
| Finds | Missing copies | Silent errors anywhere |
Other layers with end-to-end checks
| Technology | Mechanism |
|---|---|
| Ceph BlueStore | Checksums per blob, verified on read and deep scrub |
| Btrfs | Checksums, btrfs scrub start |
| SCSI/NVMe T10 PI / DIF | Protection information carried with each block |
| md RAID | No checksums; check only compares redundancy |
Schedule scrubs regularly, for example monthly on large HDD pools. Alert on any repaired bytes or checksum errors.
Illustrative example (not a system capture).
How it works
End-to-end checksums cover the whole path from application or filesystem to disk and back, so corruption in RAM, controller, cable or firmware is detected — not only errors on the disk surface.
Reference
End-to-end checksumming stores the checksum separately from the data block (ZFS keeps it in the parent block pointer), so misdirected or lost writes are caught — something disk ECC alone cannot do.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Data Integrity → End-to-end Checksumming. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://csrc.nist.gov/pubs/sp/800/209/final · confidence 94%