ceph-deep-scrub · shipping · also Deep scrubbing (Ceph)

Ceph deep scrub

Ceph deep scrub reads placement-group object data and checks it using checksums, beyond the metadata comparisons of a light scrub.

Related Observatory article: Ceph deep scrub on hesela.com

In Ceph Squid, a light scrub compares object sizes and attributes; deep scrub additionally reads data for checksum verification. The configured interval is a scheduling input, not evidence that a scan completed. [1]

The active state permits requests and clean describes the required replication count. Neither establishes when a deep scrub last completed. The deep state describes checking in progress, not a successful result. [2]

For replicated pools, pg repair can mark an inconsistent copy missing so recovery can reconstruct it; repair and recovery are distinct steps. For the documented erasure-coded and BlueStore cases, automatic scrub repair is disabled by default in Squid and, when enabled, is limited by a configured damaged-object threshold. [3] [1]

A read_error in a shard report calls for investigation of the underlying storage. Preserve the affected PG and object, shard errors, scan completion and subsequent recovery outcome before concluding that an inconsistency was resolved. [3]

Historically, the 2007 RADOS design kept a log of expected object versions even when replicas were missing. Peering reconciled that history before recovery; this is architectural context, not a description of Squid's scrub implementation. [4]

Relations

related
Placement group (Ceph), Data scrubbing, Checksum, Acting set (Ceph)

Limitations

  • Scrubbing competes with client work, so increasing its frequency can affect cluster performance. [1]

Citations

  1. Ceph Squid: OSD Config Reference, light/deep scrubbing and automatic repair controls (accessed 2026-11-13)
  2. Ceph Squid: Placement Group States, active, clean, scrubbing, deep and repair (accessed 2026-11-13)
  3. Ceph Squid: Troubleshooting PGs, inconsistent shards and More Information on PG Repair (accessed 2026-11-13)
  4. Weil et al. (PDSW 2007): RADOS, sections 3.4 and 3.4.1 (accessed 2026-11-13)

Further reading

  1. Hesela: Ceph scrub coverage, placement-group state and recovery evidence (accessed 2026-11-13)
Sources & caveats
  • Version-scoped documentation review of Ceph Squid, not a running-cluster experiment or a measured reduction in data loss.
  • The distinction between active+clean and completed checksum verification follows from the separately documented PG states. [2]

JSON: /data/terms/ceph-deep-scrub.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. Ceph deep scrub. Hesela. 2026-11-13. https://hesela.dev/terms/ceph-deep-scrub/