]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
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 | |
20effc67 TL |
14 | item device0 weight 1.00000 |
15 | item device1 weight 1.00000 | |
16 | item device2 weight 1.00000 | |
17 | item device3 weight 1.00000 | |
18 | item device4 weight 1.00000 | |
7c673cae FG |
19 | } |
20 | ||
21 | rule rule-bad { | |
20effc67 | 22 | id 0 |
7c673cae FG |
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 { | |
20effc67 | 32 | id 1 |
7c673cae FG |
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 | } |