1、提取已有的CRUSH map ,使用-o参数,ceph将输出一个经过编译的CRUSH map 到您指定的文件
ceph osd getcrushmap -o crushmap.txt


2、反编译你的CRUSH map ,使用-d参数将反编译CRUSH map 到通过-o 指定的文件中
crushtool -d crushmap.txt -o crushmap-decompile


3、使用编辑器编辑CRUSH map
vi crushmap-decompile


4、重新编译这个新的CRUSH map
crushtool -c crushmap-decompile -o crushmap-compiled


5、将新的CRUSH map 应用到ceph 集群中
ceph osd setcrushmap -i crushmap-compiled

相关文章:

  • 2021-10-19
  • 2021-09-01
  • 2022-12-23
  • 2021-10-07
  • 2021-12-14
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-07-01
  • 2022-12-23
  • 2021-10-02
  • 2021-11-20
  • 2022-12-23
  • 2022-02-06
相关资源
相似解决方案