# display a warning if there is more than one root
#
$ crushtool --outfn "$map" --build --num_osds 5 node straw 2 rack straw 1
- The crush rulesets will use the root rack0 (re)
+ The crush rules will use the root rack0 (re)
and ignore the others.
There are 3 roots, they can be
grouped into a single root by appending something like:
root straw 0
#
-# crush rulesets are generated using the OSDMap helpers
+# crush rules are generated using the OSDMap helpers
#
$ CEPH_ARGS="--debug-crush 0" crushtool --outfn "$map" --set-straw-calc-version 0 --build --num_osds 1 root straw 0 --set-chooseleaf-stable 0
$ crushtool -o "$map.txt" -d "$map"
-# first test that CSV files are created for each ruleset
+# first test that CSV files are created for each rule
$ crushtool -i five-devices.crushmap --test --num-rep 1 --min-x 0 --max-x 9 --output-csv
$ if [ ! -f data-absolute_weights.csv ]; then echo FAIL; fi
$ if [ ! -f data-batch_device_expected_utilization_all.csv ]; then echo FAIL; fi