Storage · Ceph
Replicated Pool
Cheat sheet · https://pcornel.dk/topic.php?topic=4045
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— replicationceph df— usable capacityceph 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 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 | Replica 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 |
| Acceptance | Healthy 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