]> git.proxmox.com Git - ceph.git/blob - ceph/src/test/cli/crushtool/tree.template.final
bump version to 12.2.5-pve1
[ceph.git] / ceph / src / test / cli / crushtool / tree.template.final
1 # begin crush map
2
3 # devices
4 device 0 device0
5 device 1 device1
6 device 2 device2
7 device 3 device3
8 device 4 device4
9 device 5 device5
10 device 6 device6
11 device 7 device7
12
13 # types
14 type 0 device
15 type 1 host
16 type 2 cluster
17
18 # buckets
19 host host0 {
20 id -2 # do not change unnecessarily
21 # weight 8.000
22 alg tree # do not change pos for existing items unnecessarily
23 hash 0 # rjenkins1
24 item device0 weight 1.000 pos 0
25 item device1 weight 1.000 pos 1
26 item device2 weight 1.000 pos 2
27 item device3 weight 1.000 pos 3
28 item device4 weight 1.000 pos 4
29 item device5 weight 1.000 pos 5
30 item device6 weight 1.000 pos 6
31 item device7 weight 1.000 pos 7
32 }
33 cluster cluster0 {
34 id -1 # do not change unnecessarily
35 # weight 8.000
36 alg tree # do not change pos for existing items unnecessarily
37 hash 0 # rjenkins1
38 item host0 weight 8.000 pos 0
39 }
40
41 # rules
42 rule data {
43 id 0
44 type replicated
45 min_size 1
46 max_size 10
47 step take cluster0
48 step chooseleaf firstn 0 type host
49 step emit
50 }
51 rule metadata {
52 id 1
53 type replicated
54 min_size 1
55 max_size 10
56 step take cluster0
57 step chooseleaf firstn 0 type host
58 step emit
59 }
60 rule rbd {
61 id 2
62 type replicated
63 min_size 1
64 max_size 10
65 step take cluster0
66 step chooseleaf firstn 0 type host
67 step emit
68 }
69
70 # end crush map