Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

Autoscaler

Direct answer

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.

When to use this

Use it when configuring, checking or troubleshooting Autoscaler in Ceph.

First 30 seconds

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.

Operational verification

pool usage/targets → recommended pg_num → adjustment

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Failure and recovery traps

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.

Platform / version applicability
Ceph storage
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformCeph storage
Scope / prerequisiteUse it when configuring, checking or troubleshooting Autoscaler in Ceph.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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 references

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.

observation · 1
Key points
  • Autoscaler ≠ CRUSH balancer.
  • Autoscale on ≠ no PG movement.
  • Recommended PG count ≠ application performance guarantee.
  • PG count ≠ object count.
Key checks
  • ceph osd pool autoscale-status — targets
  • ceph osd pool set <pool> pg_autoscale_mode on — enable
  • ceph 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.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docCeph storage current

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%
Terminology layer

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.

Aliases that resolve here
ceph autoscalerpg autoscalerceph osd pool autoscale-status
Embedded reference data

Quick lookup tables

Ceph → Autoscaler Ceph map

Fast control-plane, placement, data-path and proof boundaries for Ceph → Autoscaler.

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 boundaryAn 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
AcceptanceHealthy 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
Confirmation

Confirm action

Continue?