Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

Checksums · Filesystems

Direct answer

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.

When to use this

Use it when configuring, checking or troubleshooting Checksums in Filesystems.

First 30 seconds

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).

Operational verification

read → checksum verify → repair from redundancy

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Failure and repair traps

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.

Platform / version applicability
Storage architecture and operations
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformStorage architecture and operations
Scope / prerequisiteUse it when configuring, checking or troubleshooting Checksums in Filesystems.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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 references

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.

observation · 1
Key points
  • 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.
Key checks
  • zpool status -v — checksum errors
  • btrfs device stats <mount> — corruption counters
  • Get-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.

FilesystemData checksumsSelf-heal from redundancy
ZFSYesYes (mirror/RAIDZ/copies)
BtrfsYesYes (raid1/10, dup)
ReFSWith integrity streamsYes on Storage Spaces mirror/parity
ext4 / XFSMetadata onlyNo
NTFSNoNo

Detection without redundancy still matters: you learn which file is bad and restore it from backup instead of backing up the corruption for months.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docStorage architecture and operations current

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%
Terminology layer

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.

Aliases that resolve here
filesystem checksumschecksumdata checksum
Embedded reference data

Quick lookup tables

Filesystems → Checksums filesystem map

Fast namespace, metadata, capacity, attachment and verification boundaries for Filesystems → Checksums.

Filesystem boundaryWhat to verifyProof limit
Identity / attachmentFilesystem type, source/backing object, mount/attachment target and effective optionsPresence or mount state alone does not prove consistency or lower-layer health
Capacity / metadataData space, metadata/inodes, quotas/reservations and filesystem stateFree bytes at one layer do not prove allocation can succeed end to end
Failure boundaryA 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
AcceptanceHealthy 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
Confirmation

Confirm action

Continue?