Use it when configuring, checking or troubleshooting Replicated Pool in Ceph.
Replicated Pool
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.
1. Replicated pools keep N full copies (usually 3).
2. min_size = copies needed to accept writes (2).
3. Never run min_size 1 in production.
4. Usable = raw / size.
5. Best for RBD/VMs.
write → primary OSD → replicas → ack
Context & applicabilityCommon mistakes · platform/version boundaries
Replica count shows configured copy target, not independent placement, backup isolation or that all copies are currently healthy.
Suspicious evidence: size or min_size reduced as a workaround, degraded/undersized PGs, replicas concentrated in one domain or recovery blocked by capacity.
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
object → PG → primary OSD → full replica peers according to size/CRUSH → acknowledgement → later recovery if replica missing
Healthy evidence: pool size/min_size are intentional, PGs have full replica count across intended domains and workload I/O succeeds.
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.
- 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.
ceph osd pool get <pool> size; ceph osd pool get <pool> min_size— replicationceph df— usable capacityceph health detail | grep -i size— warnings
ReferenceWhat it is1 section · depth on demand
Replicated vs erasure-coded pools
| Replicated (size 3) | Erasure coded (e.g. k=4, m=2) | |
|---|---|---|
| Usable capacity | 33 % | 67 % |
| Tolerates | 2 failures (with min_size 2: 1 for writes) | m failures |
| Performance | Best, low latency | Lower, CPU/network heavier |
| Use | RBD for VMs, metadata | Object storage, backups, archives |
ceph osd pool create vm-pool 128 128 replicated
ceph osd pool set vm-pool size 3 ; ceph osd pool set vm-pool min_size 2
ceph osd pool application enable vm-pool rbd
ReferenceImportant terms & boundaries2 sections · depth on demand
Placement and what the checks show
Replica count shows configured copy target, not independent placement, backup isolation or that all copies are currently healthy.
Replicated Pool owns full-copy durability; Pools/CRUSH own policy/placement; Backup owns independent recovery copies.
In depth
A replicated pool stores size full copies. min_size is the number of copies that must be available for I/O to continue.
| size / min_size | Raw usable | Behaviour |
|---|---|---|
| 3 / 2 | 33 % | Standard: survives one failure with I/O, two without data loss |
| 2 / 1 | 50 % | Risky: one remaining copy accepts writes; a second failure loses data |
| 2 / 2 | 50 % | I/O stops on any single failure |
Worked example: 12 nodes × 8 × 8 TB = 768 TB raw; size 3 → 256 TB; keeping 15–20 % headroom for recovery and the 85 % nearfull warning gives roughly 200 TB of plannable capacity.
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 → Replicated Pool. 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 → Replicated Pool Ceph map
Fast control-plane, placement, data-path and proof boundaries for Ceph → Replicated Pool.
| 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 |