Pcornel
Storage · Ceph

Pools

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

Back to the Topic

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, application
  • ceph df detail — usage per pool
  • ceph 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 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 boundaryPool 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
AcceptanceHealthy 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

Confirmation

Confirm action

Continue?