TECHNOLOGY

A completed Ceph scrub is not necessarily a completed deep scrub

In this article
THE QUICK TAKE

Record which PGs completed which scrub type and retain inconsistency evidence before any repair changes the stored state.

An integrity window with incomplete coverage

A maintenance report says that scrubbing finished before a checkpoint was retained for recovery. The statement is ambiguous unless it identifies the placement groups, scrub type and completion times. A metadata comparison and a scan that reads object contents do not supply the same evidence about stored data.

The placement-group state reference distinguishes scrubbing from deep scrubbing. The latter checks data against stored checksums. Neither the existence of a scheduled interval nor a request to start work establishes completed coverage.

Choose the integrity question

If the concern is disagreement in object metadata or replica structure, ordinary scrubbing supplies relevant evidence. If the concern is corruption detectable by reading data and comparing stored checksums, verify that deep scrubbing actually covered the intended groups.

Define the pool and checkpoint objects under review, then connect them to the relevant placement groups. A clean result elsewhere in the cluster cannot certify the target objects. Keep application-level checks separate: matching stored bytes does not prove that optimizer state and model weights belong to the same training step.

Follow scheduling through completion

The OSD configuration reference describes scheduling intervals, concurrency and deep-scrub behavior. These settings influence when work is attempted, while competing load and scheduler policy affect its progress. Record actual start, finish and outstanding status rather than deriving completion from an interval.

An mClock deployment also changes the interpretation of scrub sleep settings. The documented sleep option is ignored under that scheduler. A comparison that attributes a quieter client workload to a changed sleep value must first establish that the parameter controlled the running path.

Preserve evidence before repair

When inconsistencies appear, save the affected group, object identifiers, reported errors and relevant daemon state before taking corrective action. Repair changes the evidence and depends on the available authoritative information; an operator should not equate its invocation with recovery of the intended application contents.

Automatic repair is conditional on its effective enablement and the documented error limit. Do not assume that every detected inconsistency was automatically repaired, or that every health transition describes the same object population.

Accept a bounded integrity result

A useful acceptance record lists the intended coverage, completed deep-scrub observations, unresolved inconsistencies and any repair followed by verification. Include gaps explicitly. If new writes occur after the scan, distinguish the scanned state from the current namespace instead of presenting an open-ended certificate.

The object checksum guide explains why algorithm and checksum scope matter. The snapshot consistency guide explains the different question of whether a recoverable application state was captured.

Limits of a successful scan

A successful deep scrub improves evidence about stored data under Ceph’s checksum and replica mechanisms. It does not authenticate the source of a model, validate a training result or guarantee future media behavior. This procedure proposes no destructive fault injection and reports no measured scan rate. Its aim is to make a maintenance claim precise enough that completed work, pending work and application validation cannot be confused.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles