X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fceph%2Fsrc%2Fcrush%2Fold_sample.txt;fp=src%2Fceph%2Fsrc%2Fcrush%2Fold_sample.txt;h=54cf06a7bc4ddbfde171ab52a1642c26bded9703;hb=812ff6ca9fcd3e629e49d4328905f33eee8ca3f5;hp=0000000000000000000000000000000000000000;hpb=15280273faafb77777eab341909a3f495cf248d9;p=stor4nfv.git
diff --git a/src/ceph/src/crush/old_sample.txt b/src/ceph/src/crush/old_sample.txt
new file mode 100644
index 0000000..54cf06a
--- /dev/null
+++ b/src/ceph/src/crush/old_sample.txt
@@ -0,0 +1,82 @@
+
+# first define our types
+
+
+ type_id = 0
+
+
+ type_id = 2
+
+
+ type_id = 3
+
+
+ type_id = 10
+
+
+
+# hierarchy
+
+
+ id 1
+ weight 500
+
+
+ id 2
+ weight 500
+
+
+ id 3
+ weight 500
+
+
+ id 4
+ weight 500
+
+
+ id 5
+ weight 500
+
+
+
+
+
+ alg straw
+ id -12
+
+
+
+ -
+ weight 600
+
+
+
+#
+# -
+# weight 1.0
+#
+# -
+# weight 3.0
+#
+#
+
+
+
+
+ id 5
+ weight 500
+
+
+
+# rules
+
+
+ pool 0
+ type replicated
+ min_size 1
+ mix_size 4
+ step take root
+ step choose_indep 0 osd
+ step emit
+
+