]>
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-firstn { | |
20effc67 | 22 | id 0 |
7c673cae | 23 | type replicated |
7c673cae FG |
24 | step take root |
25 | step choose firstn 0 type osd | |
26 | step emit | |
27 | } | |
28 | ||
29 | rule rule-indep { | |
20effc67 | 30 | id 1 |
7c673cae | 31 | type erasure |
7c673cae FG |
32 | step take root |
33 | step choose indep 0 type osd | |
34 | step emit | |
35 | } |