惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Microsoft Azure Blog
Microsoft Azure Blog
WordPress大学
WordPress大学
Google DeepMind News
Google DeepMind News
美团技术团队
大猫的无限游戏
大猫的无限游戏
H
Help Net Security
小众软件
小众软件
aimingoo的专栏
aimingoo的专栏
博客园 - 聂微东
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
M
MIT News - Artificial intelligence
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - Franky
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Microsoft Security Blog
Microsoft Security Blog
F
Fortinet All Blogs
A
About on SuperTechFans
Recent Announcements
Recent Announcements
D
Docker
Vercel News
Vercel News
Engineering at Meta
Engineering at Meta
腾讯CDC
Martin Fowler
Martin Fowler
阮一峰的网络日志
阮一峰的网络日志

OneUptime Blog

How to Monitor Azure App Services (PaaS) with OpenTelemetry Grafana Stack vs OneUptime: DIY Observability or Unified Platform? Your AI Workloads Are About to Blow Up Your Observability Bill The Great Observability Consolidation Is Here How to Write Custom Object Classes for Ceph How to Write Custom Ceph Manager Modules How to Write a ceph.conf Configuration File How to Use Rook-Ceph with OpenShift How to Use Rook-Ceph with Longhorn for Comparison How to Configure Volume Snapshot Class for RBD in Rook How to Configure VolumeReplicationClass Scheduling Intervals in Rook How to Set Up Volume Replication with Rook-Ceph How to Create Volume Group Snapshots with Rook CSI How to Visualize Ceph Network Performance in Grafana How to Enable Virtual Host-Style Bucket Access in Rook How to View Runtime Configuration via Admin Socket How to View Quota Settings and Update Stats in Ceph RGW How to View PG Scaling Recommendations with autoscale-status How to View PG Distribution via Admin Socket How to View Performance Metrics in the Ceph Dashboard How to View OSD Performance Counters in Ceph How to View Connection Status via Admin Socket How to View Ceph Cluster Summary Dashboard via CLI How to Version Control Rook-Ceph Configuration How to Version Control Ceph Infrastructure with Terraform How to Verify Kubernetes Node Requirements for Rook-Ceph Deployment How to Verify Health Before and After Rook Upgrades How to Verify Data Integrity with Deep Scrubbing How to Verify Complete Rook-Ceph Cleanup How to Verify Backup Integrity from Ceph Snapshots
How to Understand the remapped PG State in Ceph
Nawaz Dhandala · 2026-03-31 · via OneUptime Blog

The remapped PG state means the CRUSH algorithm has calculated a new set of OSDs for the PG (the up set), but the PG has not yet finished migrating to those OSDs (the acting set still points to the old locations). Remapping is a transitional state that precedes backfilling.

What remapped Means

Ceph maintains two OSD lists for each PG:

  • up set: the OSDs CRUSH currently assigns the PG to
  • acting set: the OSDs actually hosting the PG right now

When these differ, the PG is remapped. Backfill brings the acting set in line with the up set.

Checking Remapped PGs

ceph pg stat | grep remapped

# Detailed list
ceph pg dump | grep remapped

# For a specific PG
ceph pg <pg-id> query | jq '{state: .state, up: .up, acting: .acting}'

What Causes Remapping

  1. Adding new OSDs (CRUSH assigns new PG targets)
  2. Changing OSD weights
  3. Modifying CRUSH rules
  4. Removing or marking out OSDs
# Check if CRUSH map recently changed
ceph osd dump | grep epoch
ceph osd dump --format json | jq '.epoch'

remapped + backfilling

The most common combined state is active+remapped+backfilling. This means:

  • PG is active and serving I/O from the old acting set
  • Backfill is copying data to the new up set
  • The PG will transition to active+clean when backfill completes
ceph pg dump | awk '{if ($16 ~ /remapped/) print $1, $16}' | head -20

remapped Without Backfilling

If a PG is active+remapped but NOT backfilling, backfill may be queued (backfill_wait) due to the osd_max_backfills limit:

ceph pg dump | grep "remapped" | grep -v "backfill"

Check the backfill limit:

ceph config get osd osd_max_backfills

Increase it to allow more concurrent backfills:

ceph config set osd osd_max_backfills 3

Stuck Remapped PGs

If PGs stay remapped for a long time without making progress:

ceph health detail | grep "stuck"

# Check if nobackfill is set
ceph osd dump | grep flags

# Check if target OSD is too full
ceph df | grep -E "OSD|%"

Impact on I/O

Remapped PGs read from and write to the current acting set. Client I/O is not impacted by remapping - the cluster handles the redirection transparently.

Checking Up vs Acting Set

ceph pg dump --format json | jq '.pg_stats[] | select(.up != .acting) | {pgid, up, acting}'

Summary

The remapped PG state indicates a mismatch between where CRUSH wants the PG and where it currently lives. It is a normal transitional state that occurs whenever the CRUSH map changes due to OSD additions, removals, or weight changes. It resolves automatically as backfill completes. If remapped PGs are not making progress, check for nobackfill flags, osd_max_backfills limits, or OSDs that are too full to accept data.