Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

Checksumming

Direct answer

ZFS stores checksums separately from the data blocks they protect through its block-pointer tree. On read, data is verified against the expected checksum. If redundancy provides another valid replica or parity reconstruction, ZFS can return correct data and repair a bad copy. Without a valid alternate copy, detection still works but repair may be impossible.

When to use this

Use it when configuring, checking or troubleshooting Checksumming in ZFS.

First 30 seconds

1. Every block is checksummed; reads are verified.

2. Errors are repaired from redundancy.

3. CKSUM counts point to disk, cable, controller or RAM.

4. zpool clear after fixing the cause.

5. Permanent errors list damaged files.

Operational verification

read → checksum verify → repair from redundancy

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

A checksum mismatch shows returned block data did not match ZFS expected integrity metadata; it does not by itself identify whether the cause was media, cable/controller, RAM, software or another path component.

Suspicious evidence: checksum counters increase, errors recur on different devices through a shared path, no valid redundant copy remains, or detection is misrepresented as backup.

Platform / version applicability
ZFS storage
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.

PlatformZFS storage
Scope / prerequisiteUse it when configuring, checking or troubleshooting Checksumming in ZFS.
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 in parent metadata → storage path → read → checksum compare → valid return OR alternate replica/parity reconstruction → repair if possible

Healthy evidence: representative reads and recent scrub complete without unexplained checksum errors, redundancy is intact, and repaired blocks no longer reproduce errors.

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 ≠ guaranteed repair.
  • Checksums ≠ backup or historical recovery.
  • No checksum errors observed ≠ every block was recently read.
  • Device SMART health ≠ ZFS end-to-end data integrity.
Key checks
  • zpool status -v — checksum errors per device
  • zfs get checksum <ds> — algorithm
  • zpool events -v | tail — error events
ReferenceImportant terms & boundaries2 sections · depth on demand

Topology

A checksum mismatch shows returned block data did not match ZFS expected integrity metadata; it does not by itself identify whether the cause was media, cable/controller, RAM, software or another path component.

Checksumming owns ZFS block-integrity detection and repair decision. Physical Media/Interfaces own underlying fault source; Scrub owns systematic verification.

In depth

Every block pointer stores a checksum of the block it points to (fletcher4 by default, sha256/blake3 optional), forming a Merkle tree up to the uberblock. A read whose checksum does not match is detected; if redundancy exists, ZFS reads another copy, returns good data and rewrites the bad copy (self-healing).

zpool status shows checksum errors per device in the CKSUM column. A few errors on one disk point at that disk or its cable; errors across many disks point at controller, HBA, RAM or backplane. Without redundancy (single-disk vdev, copies=1) ZFS can detect but not repair corruption.

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 docZFS storage current

Authoritative/upstream documentation reviewed for bounded claims in ZFS → Checksumming. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://openzfs.github.io/openzfs-docs/ · 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
zfs checksumchecksummingchecksum errors
Embedded reference data

Quick lookup tables

ZFS → Checksumming ZFS map

Fast topology, capacity, integrity and proof boundaries for ZFS → Checksumming.

ZFS boundaryWhat to verifyProof limit
Identity / topologyPool GUID/name, dataset/zvol, top-level vdev class, leaf-device identity and effective propertiesObject presence alone does not prove integrity, performance or recovery
Capacity / protectionPool free space, quotas/reservations, snapshot retention, redundancy and active scrub/resilver stateFree space or ONLINE state at one layer does not prove end-to-end health
Failure boundaryA checksum mismatch proves returned block data did not match ZFS expected integrity metadata; it does not by itself identify whether the cause was media, cable/controller, RAM, software or another path component.Correlate ZFS evidence with both workload and lower device/path evidence
AcceptanceHealthy evidence: representative reads and recent scrub complete without unexplained checksum errors, redundancy is intact, and repaired blocks no longer reproduce errors.Close only after original workload plus checksum/read-back/recovery verification succeeds
Confirmation

Confirm action

Continue?