]> git.proxmox.com Git - ceph.git/blob - ceph/src/test/cli/crushtool/multitype.before
bump version to 12.2.5-pve1
[ceph.git] / ceph / src / test / cli / crushtool / multitype.before
1 # begin crush map
2
3 # devices
4 device 0 osd0
5 device 1 osd1
6 device 2 osd2
7 device 3 osd3
8 device 4 osd4
9 device 5 osd5
10 device 6 osd6
11 device 7 osd7
12 device 8 osd8
13 device 9 osd9
14
15 # types
16 type 0 osd
17 type 1 host
18 type 2 cluster
19
20 # buckets
21 host host0 {
22 id -2 # do not change unnecessarily
23 # weight 2.000
24 alg straw
25 hash 0 # rjenkins1
26 item osd0 weight 1.000
27 item osd1 weight 1.000
28 }
29 host host1 {
30 id -3 # do not change unnecessarily
31 # weight 2.000
32 alg list
33 hash 0 # rjenkins1
34 item osd3 weight 1.000
35 item osd4 weight 1.000
36 }
37 host host2 {
38 id -4 # do not change unnecessarily
39 # weight 2.000
40 alg tree
41 hash 0 # rjenkins1
42 item osd5 weight 1.000
43 item osd6 weight 1.000
44 item osd7 weight 1.000
45 item osd8 weight 1.000
46 item osd9 weight 1.000
47 }
48 cluster cluster0 {
49 id -1 # do not change unnecessarily
50 # weight 2.000
51 alg straw
52 hash 0 # rjenkins1
53 item host0 weight 2.000
54 item host1 weight 2.000
55 item host2 weight 5.000
56 }
57
58 # rules
59 rule data {
60 ruleset 0
61 type replicated
62 min_size 1
63 max_size 10
64 step take cluster0
65 step chooseleaf firstn 0 type host
66 step emit
67 }
68 rule metadata {
69 ruleset 1
70 type replicated
71 min_size 1
72 max_size 10
73 step take cluster0
74 step chooseleaf firstn 0 type host
75 step emit
76 }
77 rule rbd {
78 ruleset 2
79 type replicated
80 min_size 1
81 max_size 10
82 step take cluster0
83 step chooseleaf firstn 0 type host
84 step emit
85 }
86
87 # end crush map