Use this when data changes without any reported error.
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. Only checksumming file systems or storage detect it.
1. Silent corruption: data changes without errors reported (firmware bugs, RAM, controllers).
2. Only checksums detect it.
3. Repair from redundancy or backup.
4. Find the source (disk, RAM, cable).
5. Keep scrubs regular.
bad data written/read → no device error → checksum mismatch
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 (it does not without checksums/scrubs).
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.
- Caused by firmware bugs, misdirected writes, bad RAM or bit rot.
- Only checksums detect it.
- Restore from a known-good copy.
zpool status -v— CKSUM errorsdmesg | grep -i -e 'checksum' -e 'csum'— Btrfs/ZFS messagesedac-util -v— RAM errors
ReferenceHow it works1 section · depth on demand
Defences against silent corruption
| Layer | Defence |
|---|---|
| Memory | ECC RAM |
| File system | Checksums (ZFS, Btrfs, ReFS integrity streams) |
| Storage | End-to-end protection (T10 PI/DIF), RAID scrubbing |
| Distributed storage | Ceph deep scrub |
| Backups | Verification and test restores |
| Application | Database page checksums (data_checksums in PostgreSQL, InnoDB checksums) |
Without checksums, corruption is only found when a user opens the file — often after backups have also captured it.
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
Silent data corruption is wrong data returned without any error. Sources: firmware bugs, misdirected or lost writes (the drive writes to the wrong place or acknowledges a write it never did), bit flips in RAM or on buses without protection, and controller or cache faults.
Detection needs checksums kept separately from the data they protect:
| Layer | Mechanism |
|---|---|
| Drive | ECC per sector (catches media errors only) |
| Path | T10 PI/DIF (protection information per block), CRC on links |
| Filesystem | ZFS, Btrfs, ReFS integrity streams |
| Application | Database page checksums (SQL PAGE_VERIFY CHECKSUM, PostgreSQL data checksums) |
Regular scrubs read data proactively, so corruption is found while a good copy still exists.
Causes
| Cause | Example |
|---|---|
| Media errors | Weak sectors returning wrong data |
| Firmware bugs | Drives or controllers writing to the wrong LBA |
| Misdirected/lost writes | Write acknowledged but not stored |
| Memory errors | Bit flips in RAM without ECC |
| Cables/HBAs | Transfer errors not caught |
End-to-end checksums (ZFS, Btrfs, ReFS integrity streams, Ceph BlueStore) detect these; plain RAID does not.
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 → Silent Data Corruption. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://csrc.nist.gov/pubs/sp/800/209/final · confidence 94%