Use it when configuring, checking or troubleshooting Rebalancing in Ceph.
Rebalancing
Changes to OSD membership/weights, CRUSH topology or PG counts alter mappings. Recovery/backfill then move data until actual placement matches desired acting sets; balancing mechanisms may further reduce utilization skew.
1. Rebalancing moves PGs to even out usage after changes.
2. Balancer (upmap) keeps OSD usage similar.
3. Uneven OSDs hit nearfull earlier.
4. Avoid manual reweights with balancer on.
5. Changes move data — plan.
imbalance → balancer upmaps → data moves
Context & applicabilityCommon mistakes · platform/version boundaries
Rebalancing progress shows adaptation to current maps, not that current maps represent the best failure-domain/capacity design.
Suspicious evidence: endless remap, oscillating weights, severe utilization skew, hot OSDs, blocked backfill or repeated manual changes without baseline.
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
CRUSH/weight/PG/topology change → new desired mappings → remapped PGs → recovery/backfill → converged placement/utilization
Healthy evidence: movement converges, OSD utilization becomes policy-appropriate, PGs return to healthy states and workload remains acceptable.
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.
- Rebalancing ≠ one command or one mechanism.
- Equal OSD utilization ≠ always correct target.
- Remapped PGs ≠ failure automatically.
- Balance improvement ≠ no workload cost.
ceph balancer status— balancer modeceph osd df— usage spread (VAR)ceph balancer eval— distribution score
ReferenceImportant terms & boundaries2 sections · depth on demand
Placement and what the checks show
Rebalancing progress shows adaptation to current maps, not that current maps represent the best failure-domain/capacity design.
Rebalancing owns distribution convergence; CRUSH/Autoscaler own policy inputs; Recovery/Backfill own data-movement mechanics.
In depth
Rebalancing moves PGs so that data matches CRUSH weights again, typically after adding capacity. Add OSDs gradually or with norebalance set, then release to control load:
ceph osd set norebalance
# add OSDs …
ceph osd unset norebalance
ceph balancer mode upmap; ceph balancer on # even out PG distribution
ceph osd df tree # %USE and VAR per OSD
The balancer (upmap mode) evens out OSD usage without moving more data than necessary; a VAR spread within about ±5 % is a healthy target.
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 → Rebalancing. 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 → Rebalancing Ceph map
Fast control-plane, placement, data-path and proof boundaries for Ceph → Rebalancing.
| 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 | Rebalancing progress proves adaptation to current maps, not that current maps represent the best failure-domain/capacity design. | Correlate Ceph, host, device and network evidence in the same time window |
| Acceptance | Healthy evidence: movement converges, OSD utilization becomes policy-appropriate, PGs return to healthy states and workload remains acceptable. | Close only after original client operation plus redundancy/read-back verification |