Pcornel
Storage · Ceph

Replicated Pool

Cheat sheet · https://pcornel.dk/topic.php?topic=4045

Back to the Topic

Answer

For each PG the primary OSD coordinates writes to peer replicas. The pool size expresses desired number of copies, while min_size controls the minimum available replicas required to permit I/O in degraded conditions.

Remember

  • size ≠ min_size.
  • Three replicas ≠ three independent failure domains unless CRUSH places them so.
  • Degraded I/O allowed ≠ safe normal operation.
  • Replication ≠ backup/version history.

First checks

  • ceph osd pool get <pool> size; ceph osd pool get <pool> min_size — replication
  • ceph df — usable capacity
  • ceph health detail | grep -i size — warnings

Verify in this order

write → primary OSD → replicas → ack

Where it usually breaks

First mismatch in member media → metadata/layout → allocation/placement → redundancy/recovery → logical object → consumer; preserve identity/pre-state before mutation.

Ceph → Replicated Pool Ceph map

Ceph boundaryWhat to verifyProof limit
Control / placementMON/map/auth, pool, PG and CRUSH context for the exact workloadCluster visibility or one healthy daemon does not prove the data path
Data / redundancyActing OSD set, device/network state, capacity and replica/EC availabilityUp/in or active state alone does not prove clean redundancy or integrity
Failure boundaryReplica count proves configured copy target, not independent placement, backup isolation or that all copies are currently healthy.Correlate Ceph, host, device and network evidence in the same time window
AcceptanceHealthy evidence: pool size/min_size are intentional, PGs have full replica count across intended domains and workload I/O succeeds.Close only after original client operation plus redundancy/read-back verification

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4045

Confirmation

Confirm action

Continue?