修改 CRUSH Map 内容
针对 CRUSH Map 的编辑,是立即生效的。
直接修改 CRUSH Map 内容:
ceph osd getcrushmap -o crushmap_compiled_file crushtool -d crushmap_compiled_file -o crushmap_decompiled_file vim crushmap_decompiled_file crushtool -c crushmap_decompiled_file -o crushmap_compiled_file ceph osd setcrushmap -i newcrushap
当前,能够通过 CMD 完成对 CRUSH Map 的修改:
# ceph osd crush remove osd.9 # ceph osd crush remove pc-amd64-100249