How to force backfill on undersized pgs ?
Hello I'm running ceph 14.2.9. During heavy backfilling due to rebalancing one OSD crashed. I want to recover the data from the lost OSD before continuing the backfilling so i out'ed the lost osd and ran "ceph osd set norebalance". But i'm noticing with the norebalance flag set the system does not backfill the undersized PG's. Only the degraded ones. So now i have plenty of undersized PG's and the system is idle. How can i recover the undersized PG's before resuming normal backfilling/rebalancing ? Regards, Kári
Hi Kári, The backfilling process will prioritize those backfill request that are for degrade pgs or undersized pgs: " .... The next priority is backfill of degraded PGs and is a function of the degradation. A backfill for a PG missing two replicas will have a priority higher than a backfill for a PG missing one replica. The lowest priority is backfill of non-degraded PGs. ...." - https://docs.ceph.com/docs/nautilus/dev/osd_internals/backfill_reservation/ Does that help you? kind regards, Wout 42on On 18-06-2020 08:45, Kári Bertilsson wrote:
Hello
I'm running ceph 14.2.9.
During heavy backfilling due to rebalancing one OSD crashed.
I want to recover the data from the lost OSD before continuing the backfilling so i out'ed the lost osd and ran "ceph osd set norebalance".
But i'm noticing with the norebalance flag set the system does not backfill the undersized PG's. Only the degraded ones. So now i have plenty of undersized PG's and the system is idle.
How can i recover the undersized PG's before resuming normal backfilling/rebalancing ?
Regards, Kári _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
participants (2)
-
Kári Bertilsson
-
Wout van Heeswijk