Use it when configuring, checking or troubleshooting Autoscaler in Ceph.
Autoscaler
The autoscaler reasons about each pool’s share of storage and replication/EC overhead. Changes in PG count can trigger splitting/merging and data movement, so recommendations should be evaluated against pool purpose and operational timing.
1. The PG autoscaler adjusts pg_num per pool.
2. Set target_size_ratio/bytes for pools that will grow.
3. Changes cause data movement.
4. Bulk flag for large pools.
5. Review after adding pools.
pool usage/targets → recommended pg_num → adjustment
Context & applicabilityCommon mistakes · platform/version boundaries
An autoscaler recommendation shows its current sizing model result, not that the workload or maintenance window can tolerate the resulting movement.
Suspicious evidence: chronic autoscaler warnings, overlapping roots, oscillating recommendations, unexpected PG movement or manual values fighting autoscale policy.
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
pool usage/targets + CRUSH capacity → autoscaler estimate → pg_num recommendation/change → PG split/merge/remap → data convergence
Healthy evidence: autoscale state is intentional, recommendations are explainable, PG counts are stable/appropriate and changes converge without health issues.
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.
- Autoscaler ≠ CRUSH balancer.
- Autoscale on ≠ no PG movement.
- Recommended PG count ≠ application performance guarantee.
- PG count ≠ object count.
ceph osd pool autoscale-status— targetsceph osd pool set <pool> pg_autoscale_mode on— enableceph osd pool set <pool> target_size_ratio 0.3— hint expected size
ReferenceImportant terms & boundaries2 sections · depth on demand
Placement and what the checks show
An autoscaler recommendation shows its current sizing model result, not that the workload or maintenance window can tolerate the resulting movement.
Autoscaler owns PG-count automation; Pools owns pool policy; Rebalancing/Backfill own movement effects.
In depth
The PG autoscaler sets pg_num per pool from the pool's actual or expected share of data.
ceph osd pool autoscale-status
ceph osd pool set vm-pool pg_autoscale_mode on
ceph osd pool set vm-pool target_size_ratio 0.6 # expected share of the cluster
ceph osd pool set vm-pool pg_num_min 128
Without hints, a new pool starts small and is split as data grows, which triggers data movement later. Set target_size_ratio or target_size_bytes for pools you know will be large so they get the right PG count from the start.
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 → Autoscaler. 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 → Autoscaler Ceph map
Fast control-plane, placement, data-path and proof boundaries for Ceph → Autoscaler.
| 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 | An autoscaler recommendation proves its current sizing model result, not that the workload or maintenance window can tolerate the resulting movement. | Correlate Ceph, host, device and network evidence in the same time window |
| Acceptance | Healthy evidence: autoscale state is intentional, recommendations are explainable, PG counts are stable/appropriate and changes converge without health issues. | Close only after original client operation plus redundancy/read-back verification |