-
Notifications
You must be signed in to change notification settings - Fork 1
Important Commands
ChrisP edited this page Oct 20, 2023
·
4 revisions
show current evaluations
./bin/ceph balancer eval-verbose
set max deviation for pgs
./bin/ceph config get mgr mgr/balancer/upmap_max_deviation
./bin/ceph config set mgr mgr/balancer/upmap_max_deviation [value]
show osd maps
./bin/ceph osd dump -f json-pretty
turn balancer off/on
./bin/ceph balancer off
./bin/ceph balancer on
show numbers assigned to pool
./bin/ceph osd lspools
shows the movement of pgs
pg dump pgs_brief
pg dump pgs_brief | grep “2/.”
moves the objects around
./bin/ceph osd pg-upmap-items
restarting mgr to retest code
./bin/init-ceph restart mgr.x