[SOLVED] Curiosity: OSD Out - Backfill. OSD Destroy. Backfill again?

AllanM

Well-Known Member
Oct 17, 2019
112
36
48
41
Interesting observation:

Steps:

1. Set an OSD to "Out"
2. Wait for Backfill (rebalance) to complete. Healthy status, nice green circle.
3. Set OSD to "Stop"
4. Observe healthy status, no rebalancing needed.
5. Destroy the Out/Stopped OSD.
6. Backfill operations begin again, just like in step 2.

Why does it take 2 rebalances to remove an OSD?

There's probably a perfectly reasonably explanation. I just don't know what it is.


Thanks!
 
The placement of objects might change if there's one less OSD to consider.
So the first backfill was to make sure every object has the configured number of replicas.

Then the 2nd backfill was to update the placement of objects based on the layout after the number of OSDs in the cluster changed.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!