]>
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 host | |
9 | ||
10 | host host0 { | |
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-r0 { | |
20effc67 | 22 | id 0 |
7c673cae | 23 | type replicated |
7c673cae FG |
24 | step take host0 |
25 | step choose firstn 0 type osd | |
26 | step emit | |
27 | } | |
28 | ||
29 | rule rule-r1 { | |
20effc67 | 30 | id 0 |
7c673cae | 31 | type replicated |
7c673cae FG |
32 | step take host0 |
33 | step choose firstn 0 type osd | |
34 | step emit | |
35 | } | |
36 | ||
37 | rule rule-r2 { | |
20effc67 | 38 | id 0 |
7c673cae | 39 | type replicated |
7c673cae FG |
40 | step take host0 |
41 | step choose firstn 0 type osd | |
42 | step emit | |
43 | } | |
44 | ||
45 | rule rule-r3 { | |
20effc67 | 46 | id 0 |
7c673cae | 47 | type replicated |
7c673cae FG |
48 | step take host0 |
49 | step choose indep 0 type osd | |
50 | step emit | |
51 | } | |
52 | ||
53 | rule rule-r4 { | |
20effc67 | 54 | id 0 |
7c673cae | 55 | type replicated |
7c673cae FG |
56 | step take host0 |
57 | step choose indep 0 type osd | |
58 | step emit | |
59 | } | |
60 | ||
61 | rule rule-e0 { | |
20effc67 | 62 | id 0 |
7c673cae | 63 | type erasure |
7c673cae FG |
64 | step take host0 |
65 | step choose indep 0 type osd | |
66 | step emit | |
67 | } | |
68 | ||
69 | rule rule-e1 { | |
20effc67 | 70 | id 1 |
7c673cae | 71 | type erasure |
7c673cae FG |
72 | step take host0 |
73 | step choose indep 0 type osd | |
74 | step emit | |
75 | } |