Use it when configuring, checking or troubleshooting Checksums in Filesystems.
Checksums · Filesystems
A checksum is calculated when protected content is written and validated on read or scrub. Detection becomes self-healing only when the system also has another trusted copy from which it can reconstruct the damaged content.
1. Checksums detect silent data corruption.
2. With redundancy, data is repaired automatically.
3. Scrubs read and verify everything.
4. Non-checksumming filesystems can't detect bit rot.
5. Investigate checksum errors (disk, cable, RAM).
read → checksum verify → repair from redundancy
Context & applicabilityCommon mistakes · platform/version boundaries
A matching checksum shows the read content matches the stored integrity value under that algorithm, but it does not show independent backup, freshness or that unvisited blocks are healthy.
Suspicious evidence: checksum errors rise, repairs occur repeatedly, only metadata is protected while data protection is assumed, or zero errors are cited without meaningful read/scrub coverage.
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 Verification path Verify boundary
write → checksum generation → data+checksum persistence → later read/scrub → checksum comparison → accept/error/repair
Healthy evidence: checksums validate on representative reads/scrubs, error counters are stable and redundant repair sources are healthy where self-healing is expected.
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.
- Checksum detection ≠ automatic repair.
- Checksum success ≠ authenticity against a malicious writer with metadata access.
- Metadata checksum ≠ data checksum unless both are protected.
- No checksum error ≠ every block has recently been read.
zpool status -v— checksum errorsbtrfs device stats <mount>— corruption countersGet-FileIntegrity <file>— ReFS integrity
ReferenceImportant terms & boundaries2 sections · depth on demand
Namespace and consistency
A matching checksum shows the read content matches the stored integrity value under that algorithm, but it does not show independent backup, freshness or that unvisited blocks are healthy.
In depth
Checksumming filesystems store a checksum per block and verify it on every read. They detect silent corruption from disks, controllers, cables or firmware that the drive's own ECC missed.
| Filesystem | Data checksums | Self-heal from redundancy |
|---|---|---|
| ZFS | Yes | Yes (mirror/RAIDZ/copies) |
| Btrfs | Yes | Yes (raid1/10, dup) |
| ReFS | With integrity streams | Yes on Storage Spaces mirror/parity |
| ext4 / XFS | Metadata only | No |
| NTFS | No | No |
Detection without redundancy still matters: you learn which file is bad and restore it from backup instead of backing up the corruption for months.
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 Filesystems → Checksums. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://docs.kernel.org/filesystems/index.html · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
Filesystems → Checksums filesystem map
Fast namespace, metadata, capacity, attachment and verification boundaries for Filesystems → Checksums.
| Filesystem boundary | What to verify | Proof limit |
|---|---|---|
| Identity / attachment | Filesystem type, source/backing object, mount/attachment target and effective options | Presence or mount state alone does not prove consistency or lower-layer health |
| Capacity / metadata | Data space, metadata/inodes, quotas/reservations and filesystem state | Free bytes at one layer do not prove allocation can succeed end to end |
| Failure boundary | A matching checksum proves the read content matches the stored integrity value under that algorithm; it does not prove independent backup, freshness or that unvisited blocks are healthy. | Correlate filesystem evidence with the backing volume/path/backend before repair |
| Acceptance | Healthy evidence: checksums validate on representative reads/scrubs, error counters are stable and redundant repair sources are healthy where self-healing is expected. | Close only after the original path/workload and read-back check succeeds |