Use it when configuring, checking or troubleshooting Deep Scrub in Ceph.
Deep Scrub · Ceph
Deep scrub increases device I/O and can reveal latent media or replica inconsistency not detected by metadata-oriented checks. Scheduling and workload impact matter in large or busy clusters.
1. Deep scrub reads all data and compares checksums.
2. Detects bit rot and disk errors.
3. Heavy I/O — schedule.
4. Investigate the disk before ceph pg repair.
5. Check SMART of involved OSDs.
PG data read → checksum compare → errors reported
Context & applicabilityCommon mistakes · platform/version boundaries
Deep scrub provides stronger object-data consistency evidence than regular scrub but does not show backup recoverability or identify causation alone.
Suspicious evidence: repeated inconsistent objects, checksum mismatches tied to one device, deep scrub backlog or significant workload latency during scrub windows.
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 Verification path Verify boundary
deep-scrub schedule → read object data/checksums across acting set → compare → inconsistency evidence → cautious repair → repeat verification
Healthy evidence: deep scrubs complete in expected windows without inconsistencies and device/OSD counters remain normal.
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.
- Deep scrub ≠ backup restore test.
- Deep scrub ≠ zero performance impact.
- Checksum mismatch ≠ root cause identified.
- Repair command ≠ guaranteed correct authoritative copy.
ceph pg deep-scrub <pgid>— deep scrub one PGrados list-inconsistent-obj <pgid> --format=json-pretty— inconsistent objectsceph health detail | grep inconsistent— inconsistent PGs
ReferenceImportant terms & boundaries2 sections · depth on demand
Placement and what the checks show
Deep scrub provides stronger object-data consistency evidence than regular scrub but does not show backup recoverability or identify causation alone.
Deep Scrub owns deep integrity checks; Physical Media owns device diagnostics; Backup owns independent restore evidence.
In depth
Deep scrubbing reads all data of every object in a PG and compares checksums between replicas, by default weekly per PG. It finds bit rot and silent disk errors that light scrubs miss, at the cost of full disk reads spread over the week.
ceph pg deep-scrub 2.1f
ceph health detail | grep inconsistent
rados list-inconsistent-obj 2.1f --format=json-pretty
ceph pg repair 2.1f # after identifying the bad copy/OSD
Investigate the OSD holding the bad copy (SMART, dmesg) before repairing; repeated inconsistencies on one OSD mean the disk should be replaced.
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 Ceph → Deep Scrub. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://docs.ceph.com/en/latest/ · confidence 94%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.
Quick lookup tables
Ceph → Deep Scrub Ceph map
Fast control-plane, placement, data-path and proof boundaries for Ceph → Deep Scrub.
| Ceph boundary | What to verify | Proof limit |
|---|---|---|
| Control / placement | MON/map/auth, pool, PG and CRUSH context for the exact workload | Cluster visibility or one healthy daemon does not prove the data path |
| Data / redundancy | Acting OSD set, device/network state, capacity and replica/EC availability | Up/in or active state alone does not prove clean redundancy or integrity |
| Failure boundary | Deep scrub provides stronger object-data consistency evidence than regular scrub but does not prove backup recoverability or identify causation alone. | Correlate Ceph, host, device and network evidence in the same time window |
| Acceptance | Healthy evidence: deep scrubs complete in expected windows without inconsistencies and device/OSD counters remain normal. | Close only after original client operation plus redundancy/read-back verification |