From 442878f22996c2b9fd20c8a40f922bfe5850167d Mon Sep 17 00:00:00 2001 From: Rodrigo Severo Date: Mon, 30 Dec 2019 18:13:25 -0300 Subject: [PATCH] doc/rados/operations/crush-map-edits: including recompile and set crushmapo instructions Including missing recompile and set crushmap sections in crush-map-edits Signed-off-by: Rodrigo Severo --- doc/rados/operations/crush-map-edits.rst | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/doc/rados/operations/crush-map-edits.rst b/doc/rados/operations/crush-map-edits.rst index b6870511aec..6b75cd24507 100644 --- a/doc/rados/operations/crush-map-edits.rst +++ b/doc/rados/operations/crush-map-edits.rst @@ -52,6 +52,25 @@ To decompile a CRUSH map, execute the following:: crushtool -d {compiled-crushmap-filename} -o {decompiled-crushmap-filename} +.. _compilecrushmap: + +Recompile a CRUSH Map +--------------------- + +To compile a CRUSH map, execute the following:: + + crushtool -c {decompiled-crushmap-filename} -o {compiled-crushmap-filename} + +.. _setcrushmap: + +Set the CRUSH Map +----------------- + +To set the CRUSH map for your cluster, execute the following:: + + ceph osd setcrushmap -i {compiled-crushmap-filename} + +Ceph will load (-i) a compiled CRUSH map from the filename you specified. Sections --------