ceph rebalance osd

Seems quite well balanced.
But if you want to extract a little bit of extra space on a , the ceph balancer plugin did miracles for me on a cluster with a mix of very random drive sizes :)

https://docs.ceph.com/docs/mimic/mgr/balancer/

ceph mgr module enable balancer
ceph balancer on
ceph balancer mode upmap

Good luck :)
i just got rid of the old jewel clients and run the commands
but it did not make any change see the image: one of the osd is very full and once it got fuller the ceph got frozen

ceph balancer status
{
"last_optimize_duration": "0:00:00.005535",
"plans": [],
"mode": "upmap",
"active": true,
"optimize_result": "Unable to find further optimization, or pool(s) pg_num is decreasing, or distribution is already perfect",
"last_optimize_started": "Sun Feb 21 11:27:12 2021"
}

update: just needed to wait few minutes, it started to re-balance
it improved , (second image after balanced finished) better but far from ideal
 

Attachments

  • Screenshot at 2021-02-21 11-18-25.png
    Screenshot at 2021-02-21 11-18-25.png
    123.2 KB · Views: 94
  • Screenshot at 2021-02-21 12-20-06.png
    Screenshot at 2021-02-21 12-20-06.png
    119.4 KB · Views: 87
Last edited:

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!