Storage · Ceph
Pools
Cheat sheet · https://pcornel.dk/topic.php?topic=4041
Answer
Each object belongs to a pool and maps to one PG within that pool. The pool’s redundancy policy and CRUSH rule determine how the PG is placed across OSD failure domains; autoscaling may adjust PG counts.
Remember
- Pool ≠ filesystem or RBD image.
- Pool size ≠ min_size.
- Pool free capacity ≠ evenly available OSD capacity.
- Pool exists ≠ correct application/CRUSH policy.
First checks
ceph osd pool ls detail— size, min_size, pg_num, rule, applicationceph df detail— usage per poolceph osd pool get <pool> all— all settings
Commands
ceph osd pool ls detail- Pool parameters including size/min_size/PG settings.
ceph osd pool autoscale-status- PG autoscaler recommendations/state.
ceph df
Verify in this order
data → pool (rule, size) → PGs
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 → Pools 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 | Pool configuration proves intended policy, not that current placement satisfies it or that all client data is available and recoverable. | Correlate Ceph, host, device and network evidence in the same time window |
| Acceptance | Healthy evidence: pool policy matches workload, PGs are healthy, CRUSH placement spans intended failure domains and client I/O works. | 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=4041