Ceph – Edit running crushmap

Edit crushmap in a running cluster then re-inject it – Be careful!


ceph osd getcrushmap -o crushmap
crushtool -d crushmap -o crushmap.txt
vim crushmap.txt
crushtool -c crushmap.txt -o crushmap1
ceph osd setcrushmap -i crushmap1