参考链接:
mgr balancer模式探索及配置方法1
mgr balancer模式探索及配置方法2
1.ceph mgr module enable balancer
[root@controller ~]# ceph mgr module enable balancer module 'balancer' is already enabled (always-on)
2.ceph balancer on
3.ceph balancer status
[root@controller ~]# ceph balancer status { "last_optimize_duration": "0:00:00.000526", "plans": [], "mode": "none", "active": true, "optimize_result": "Too many objects (0.075198 > 0.050000) are misplaced; try again later", "last_optimize_started": "Mon Apr 27 06:31:08 2020" }