Fix some bugs when testing opensds ansible
[stor4nfv.git] / src / ceph / src / test / cli / crushtool / missing-bucket.crushmap.txt
1 device 0 device0
2 device 1 device1
3 device 2 device2
4 device 3 device3
5 device 4 device4
6
7 type 0 osd
8 type 1 domain
9
10 domain root {
11         id -1
12         alg straw
13         hash 0
14         item device0 weight 1.000
15         item device1 weight 1.000
16         item device2 weight 1.000
17         item device3 weight 1.000
18         item device4 weight 1.000
19 }
20
21 rule rule-bad {
22         ruleset 0
23         type replicated
24         min_size 1
25         max_size 10
26         step take root-404
27         step choose firstn 0 type osd
28         step emit
29 }
30
31 rule rule-good {
32         ruleset 1
33         type erasure
34         min_size 1
35         max_size 10
36         step take root
37         step choose indep 0 type osd
38         step emit
39 }