User Tools

Site Tools


ceph:modifying_crush_map

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
ceph:modifying_crush_map [2019/07/26 11:14] dodgerceph:modifying_crush_map [2019/07/31 10:53] dodger
Line 231: Line 231:
         step emit         step emit
 } }
-rule VoxelRule {+rule ciberterminalRule {
         id 1         id 1
         type replicated         type replicated
Line 277: Line 277:
 <code> <code>
 # crushtool --test -i crushmap_new.map --show-utilization --rule 1 --num-rep=4 # crushtool --test -i crushmap_new.map --show-utilization --rule 1 --num-rep=4
-rule 1 (VoxelRule), x = 0..1023, numrep = 4..4 +rule 1 (ciberterminalRule), x = 0..1023, numrep = 4..4 
-rule 1 (VoxelRule) num_rep 4 result size == 1:  1024/1024+rule 1 (ciberterminalRule) num_rep 4 result size == 1:  1024/1024
   device 0:              stored : 58     expected : 51.2   device 0:              stored : 58     expected : 51.2
   device 1:              stored : 45     expected : 51.2   device 1:              stored : 45     expected : 51.2
Line 492: Line 492:
 } }
 </graphviz> </graphviz>
 +
 +===== Check pg location =====
 +
 +This will show the placement of each PG in ''[OSDx,OSDy...]'':
 +<code bash>
 +ceph pg dump | egrep "^[0-9]" | awk '{print $17}'|less
 +</code>
 +
 +
 +
 ====== External documentation ====== ====== External documentation ======