data-scrubbing · shipping · also Disk scrubbing, Storage scrubbing

Data scrubbing

Data scrubbing is proactive verification of stored data to discover errors before ordinary access requires the affected content.

Related Observatory article: Read on hesela.com

Verification layer and repair behavior matter. Media verification, parity checks and filesystem checksum scans are not equivalent. Btrfs mounting can replay a tree log even when the mount is read-only; this is a separate write boundary from the later scrub. [5]

A mean inspection frequency can conceal long gaps. The same number of checks over the same window can produce different waits to detection; retain completed per-block verification intervals and coverage, not only scheduled job dates. [6]

The selection rule also matters: a fixed-size uniform random subset and one equally long contiguous window need not have the same chance of finding clustered damage. Retain the sampled set and actual completed coverage; changing read order alone is distinct from replacing selected positions. [7]

Read-only host traffic does not promise zero internal NAND programs. Repeated physical reads can disturb other cells, and controller relocation may program fresh pages. Planar MLC characterization establishes this mechanism, not a universal failure rate or safe scrub interval. Keep requested scan bytes, completed verification and internal maintenance separate. [8]

Retain the observation cutoff and unfinished per-block gap as well as completed intervals. Dropping that gap changes the time window used to average hypothetical detection waits; treating the cutoff as a check invents completed verification. Missing log records cannot establish that no scan occurred. [9]

In NAND deletion research, page scrubbing instead reprograms a physical page to obscure old data. That destructive operation is distinct from the integrity checks described here. [10]

Relations

related
Read-after-write verification, SCSI VERIFY, Latent sector error, Staggered scrubbing, RAID 5, Checksum, Resilver, RAID rebuild, Btrfs NODATASUM, Filesystem consistency invariant, Btrfs tree log, Adaptive scrubbing, Mean time to detection, ZFS error scrub, Interval-censoring, Inspection paradox, Sampling design, Read reclaim, Read disturb, MD mismatch count, Patrol read, RAID consistency check, Opportunistic scrubbing, ZFS pool checkpoint, Ceph deep scrub, NAND page scrubbing

Limitations

  • Detection alone does not supply a valid replacement copy; repair depends on available redundancy. [1]
  • Linux MD check is not guaranteed to be read-only for every RAID level. [2]
  • Btrfs read-only scrub on a read-write mount can still write internally; it is not a full filesystem consistency check. [4]
  • Btrfs status can describe an old or cancelled run; resume does not initiate a new pass after a completed scrub. [4]

Citations

  1. OpenZFS master documentation: zpool-scrub(8), description and operation boundaries (retrieved 11 October 2026). (accessed 2026-10-11)
  2. Linux kernel documentation: RAID arrays, sync_action and mismatch_cnt (retrieved 11 October 2026). (accessed 2026-10-11)
  3. Btrfs documentation: btrfs-scrub(8), checksum exclusions and read-only limitations (accessed 2026-10-16)
  4. Btrfs documentation: btrfs(5), tree logging and rescue mount options (accessed 2026-10-15)
  5. Hesela: exact inspection-interval worksheet and storage assumptions. (accessed 2026-10-17)
  6. Hesela: sampling-design counterexample, derivation and enumerated tests. (accessed 2026-10-18)
  7. Cai et al., Read Disturb Errors in MLC NAND Flash Memory, DSN 2015, sections 2.3 and 3. (accessed 2026-10-19)
  8. Hesela: unfinished inspection windows, exact bounds and independent timeline tests. (accessed 2026-10-20)
  9. Wei et al. Reliably Erasing Data from Flash-Based Solid State Drives. FAST 2011, sections 4.2-4.4. (accessed 2026-11-22)

Further reading

  1. Hesela: Scrubbing, detection time and repair boundaries (accessed 2026-10-11)

JSON: /data/terms/data-scrubbing.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. Data scrubbing. Hesela. 2026-11-22. https://hesela.dev/terms/data-scrubbing/