목차

Ceph Storage CRUSH map 확인

CRUSH map dump / decompile

[root@ceph-box] #  ceph osd getcrushmap -o {compiled-crushmap-filename}     ##  this will gather the compiled CRUSH map
[root@ceph-box] #  crushtool -d {compiled-crushmap-filename} -o {decompiled-crushmap-filename}   ##  decompile the map to make readable

CRUSH map compile / injection

[root@ceph-box] #  crushtool -c {decompiled-crush-map-filename} -o {compiled-crush-map-filename}  ## this will recompile the CRUSH map
[root@ceph-box] #  ceph osd setcrushmap -i  {compiled-crushmap-filename} ##  this will inject the new compiled CRUSH map

참조링크