Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

Data Integrity

Direct answer

Data integrity means stored data stays exactly as written. Checksums, scrubbing, ECC memory and redundant copies detect and repair corruption from failing disks, firmware bugs or bit rot.

When to use this

Use this when you need to prove stored data has not silently changed, or when checksum or scrub errors appear.

First 30 seconds

1. Data integrity: detect and correct corruption end to end.

2. Checksumming filesystems (ZFS, Btrfs, ReFS), scrubs, ECC RAM.

3. T10-PI/DIF on enterprise storage.

4. Investigate any checksum error.

5. Backups with verification.

Operational verification

write → checksum → storage → read verify → repair

Context & applicabilityCommon mistakes · platform/version boundaries
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 this when you need to prove stored data has not silently changed, or when checksum or scrub errors appear.
What next?3 suggested next steps
Child topics (this level)9
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 Common mistakes Narrow the fault
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
Drill down

Subtopics

Go one level deeper into this subject.

Subtopic Checksums

A checksum is a short value computed from data (CRC32C, SHA-256, fletcher4) and stored with it.

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

Subtopic Silent Data Corruption

Silent data corruption is data that changes without any error being reported, from firmware bugs, misdirected writes, bad RAM or bit rot.

Subtopic Bit Rot

Bit rot is gradual, silent corruption of stored data caused by media decay, magnetic or charge loss, or firmware faults.

Subtopic Scrubbing

Scrubbing is a scheduled background read of all data to verify checksums and repair bad blocks from redundant copies, for example zpool scrub, btrfs scrub or RAID consistency checks.

Subtopic Deep Scrub

A deep scrub reads every stored copy of the data and compares full contents or checksums, not just metadata.

Subtopic ECC Memory

ECC memory detects and corrects single-bit RAM errors. Storage servers, especially ZFS and Ceph nodes, use it so corruption in memory is not written to disk with a valid checksum.

Subtopic SMART

SMART data on a drive also serves data integrity: rising reallocated, pending or uncorrectable sector counts and CRC errors warn that the drive or cable is starting to corrupt or lose data.

Subtopic Data Integrity Troubleshooting

Troubleshoot data integrity by checking checksum and scrub errors (zpool status, btrfs scrub status, Ceph health), SMART and kernel I/O errors, then cables, controllers and RAM, and restore damaged files from a good copy.

Key points
  • Only checksumming storage can detect silent corruption.
  • A repair needs a second good copy, such as a mirror or parity.
  • Corruption copied into backups spreads to every backup generation.
Key checks
  • zpool status -v — ZFS checksum errors
  • btrfs device stats <mount> — Btrfs
  • edac-util -v — memory errors (ECC)
ReferenceHow it works1 section · depth on demand

Reference

zpool scrub tank ; zpool status -v tank
btrfs scrub start /data
Get-FileIntegrity -FileName E:\file
ReferenceImportant terms & boundaries2 sections · depth on demand

How it works

Data integrity means data read back is exactly what was written. It is protected by checksums at several layers (drive ECC, transport CRCs, filesystem checksums) and by redundancy to repair errors that are found.

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 Data Integrity. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://csrc.nist.gov/pubs/sp/800/209/final · confidence 94%
Confirmation

Confirm action

Continue?