Ceph deep-scrub recovery

A Ceph inconsistent PG means replicas disagree and the authoritative object copy must be chosen carefully.

Deep scrub reads object data and compares checksums and replica state. A placement group can remain active and clean for availability while also being inconsistent because one or more replicas, omap entries, sizes, or recorded checksums disagree.

Understand the symptom

PG repair may copy the selected authoritative replica over another copy.

WHY

What is happening

Ceph uses replication or erasure coding and recorded versions to reconcile objects. Checksums identify disagreement but do not automatically prove which payload matches the application. Recovery correlates all replicas and higher-level validation before destructive replacement.

What you may see

Symptoms that change the recovery path.

01

active+clean+inconsistent

The PG serves data but scrub detected disagreement.

02

Deep scrub errors rise

Checksums, size, omap, or attributes do not match.

03

One OSD has read errors

Media or the storage path may be damaging a replica.

04

Application reads one corrupt object

Logical validation reveals a bad authoritative choice or payload.

Protect the source

Actions that can make the situation worse.

01

Repair overwrites a replica

The chosen source may not contain the desired application state.

02

OSD replacement starts recovery writes

Rebalancing changes the evidence set.

03

Scrub retries load weak media

Repeated full reads can worsen failing devices.

Do this now

Safe steps before evaluation.

01

Save health and object detail

Record PG ID, shards, versions, checksums, and exact errors.

02

Stop avoidable rebalancing

Pause planned changes while replicas are preserved.

03

Protect suspect OSDs

Image unstable devices before more scrub or repair.

04

Identify priority objects

Map RBD, CephFS, or RGW content to application impact.

NEPFOSYS process

How a data-first evaluation proceeds.

01

Replica comparison

NEPFOSYS maps PG shards, versions, checksums, and device health.

02

Protected acquisition

Unique and unstable copies are preserved before reconciliation.

03

Application validation

Recovered objects or images are tested at the RBD, filesystem, or object layer.

A clear next step

Preserve the original device before another repair or recovery attempt.

Start a case with the exact symptoms, incident timeline, prior attempts, encryption details, and the files that matter most. NEPFOSYS will route the case to the appropriate DFW intake or nationwide mail-in path.

Start with a case review

Questions, answered

What customers ask before starting.

What does active+clean+inconsistent mean?

The PG is available and placed normally, but scrub found replica disagreement.

Will ceph pg repair always choose correctly?

It follows Ceph rules, but application-aware validation and preservation are prudent when data is critical.

Should I replace the OSD first?

Preserve the suspect and peer copies before recovery activity changes them.

DFW local · Nationwide mail-in

Protect the device. Start with the facts.

Start my recovery case