-
-
Save joelio/cde87b24f3e1cd7b5631 to your computer and use it in GitHub Desktop.
ceph osd tree
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# begin crush map | |
tunable choose_local_tries 0 | |
tunable choose_local_fallback_tries 0 | |
tunable choose_total_tries 50 | |
tunable chooseleaf_descend_once 1 | |
# devices | |
device 0 osd.0 | |
device 1 osd.1 | |
device 2 osd.2 | |
device 3 osd.3 | |
device 4 osd.4 | |
device 5 osd.5 | |
device 6 osd.6 | |
device 7 osd.7 | |
device 8 osd.8 | |
device 9 osd.9 | |
device 10 osd.10 | |
device 11 osd.11 | |
device 12 osd.12 | |
device 13 osd.13 | |
device 14 osd.14 | |
device 15 osd.15 | |
device 16 osd.16 | |
device 17 osd.17 | |
device 18 osd.18 | |
device 19 osd.19 | |
device 20 osd.20 | |
device 21 osd.21 | |
device 22 osd.22 | |
device 23 osd.23 | |
device 24 osd.24 | |
device 25 osd.25 | |
device 26 osd.26 | |
device 27 osd.27 | |
device 28 osd.28 | |
device 29 osd.29 | |
device 30 osd.30 | |
device 31 osd.31 | |
device 32 osd.32 | |
device 33 osd.33 | |
device 34 osd.34 | |
device 35 osd.35 | |
device 36 osd.36 | |
device 37 osd.37 | |
device 38 osd.38 | |
device 39 osd.39 | |
device 40 osd.40 | |
device 41 osd.41 | |
device 42 osd.42 | |
device 43 osd.43 | |
# types | |
type 0 osd | |
type 1 host | |
type 2 rack | |
type 3 row | |
type 4 room | |
type 5 datacenter | |
type 6 root | |
# buckets | |
host vm-ds-01 { | |
id -2 # do not change unnecessarily | |
# weight 10.920 | |
alg straw | |
hash 0 # rjenkins1 | |
item osd.0 weight 1.820 | |
item osd.1 weight 1.820 | |
item osd.2 weight 1.820 | |
item osd.4 weight 1.820 | |
item osd.5 weight 1.820 | |
item osd.3 weight 1.820 | |
} | |
host vm-ds-02 { | |
id -3 # do not change unnecessarily | |
# weight 10.920 | |
alg straw | |
hash 0 # rjenkins1 | |
item osd.6 weight 1.820 | |
item osd.7 weight 1.820 | |
item osd.8 weight 1.820 | |
item osd.9 weight 1.820 | |
item osd.10 weight 1.820 | |
item osd.11 weight 1.820 | |
} | |
host vm-ds-03 { | |
id -4 # do not change unnecessarily | |
# weight 10.920 | |
alg straw | |
hash 0 # rjenkins1 | |
item osd.12 weight 1.820 | |
item osd.13 weight 1.820 | |
item osd.14 weight 1.820 | |
item osd.16 weight 1.820 | |
item osd.17 weight 1.820 | |
item osd.15 weight 1.820 | |
} | |
host vm-ds-04 { | |
id -5 # do not change unnecessarily | |
# weight 10.920 | |
alg straw | |
hash 0 # rjenkins1 | |
item osd.19 weight 1.820 | |
item osd.20 weight 1.820 | |
item osd.22 weight 1.820 | |
item osd.23 weight 1.820 | |
item osd.36 weight 1.820 | |
item osd.18 weight 1.820 | |
} | |
host vm-ds-05 { | |
id -6 # do not change unnecessarily | |
# weight 10.920 | |
alg straw | |
hash 0 # rjenkins1 | |
item osd.24 weight 1.820 | |
item osd.25 weight 1.820 | |
item osd.26 weight 1.820 | |
item osd.27 weight 1.820 | |
item osd.29 weight 1.820 | |
item osd.21 weight 1.820 | |
} | |
host vm-ds-06 { | |
id -7 # do not change unnecessarily | |
# weight 10.920 | |
alg straw | |
hash 0 # rjenkins1 | |
item osd.30 weight 1.820 | |
item osd.31 weight 1.820 | |
item osd.33 weight 1.820 | |
item osd.34 weight 1.820 | |
item osd.35 weight 1.820 | |
item osd.28 weight 1.820 | |
} | |
root default { | |
id -1 # do not change unnecessarily | |
# weight 69.120 | |
alg straw | |
hash 0 # rjenkins1 | |
item vm-ds-01 weight 11.820 | |
item vm-ds-02 weight 11.820 | |
item vm-ds-03 weight 11.820 | |
item vm-ds-04 weight 11.820 | |
item vm-ds-05 weight 10.920 | |
item vm-ds-06 weight 10.920 | |
} | |
root ssd { | |
id -8 # do not change unnecessarily | |
# weight 8.000 | |
alg straw | |
hash 0 # rjenkins1 | |
item osd.32 weight 1.000 | |
item osd.37 weight 1.000 | |
item osd.38 weight 1.000 | |
item osd.39 weight 1.000 | |
item osd.40 weight 1.000 | |
item osd.41 weight 1.000 | |
item osd.42 weight 1.000 | |
item osd.43 weight 1.000 | |
} | |
# rules | |
rule data { | |
ruleset 0 | |
type replicated | |
min_size 1 | |
max_size 10 | |
step take default | |
step chooseleaf firstn 0 type host | |
step emit | |
} | |
rule metadata { | |
ruleset 1 | |
type replicated | |
min_size 1 | |
max_size 10 | |
step take default | |
step chooseleaf firstn 0 type host | |
step emit | |
} | |
rule rbd { | |
ruleset 2 | |
type replicated | |
min_size 1 | |
max_size 10 | |
step take default | |
step chooseleaf firstn 0 type host | |
step emit | |
} | |
rule ssd { | |
ruleset 3 | |
type replicated | |
min_size 1 | |
max_size 10 | |
step take ssd | |
step choose firstn 0 type host | |
step emit | |
} | |
# end crush map |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# id weight type name up/down reweight | |
-8 8 root ssd | |
32 1 osd.32 up 1 | |
37 1 osd.37 up 1 | |
38 1 osd.38 up 1 | |
39 1 osd.39 up 1 | |
40 1 osd.40 up 1 | |
41 1 osd.41 up 1 | |
42 1 osd.42 up 1 | |
43 1 osd.43 up 1 | |
-1 69.12 root default | |
-2 11.82 host vm-ds-01 | |
0 1.82 osd.0 up 1 | |
1 1.82 osd.1 up 1 | |
2 1.82 osd.2 up 1 | |
4 1.82 osd.4 up 1 | |
5 1.82 osd.5 up 1 | |
3 1.82 osd.3 up 1 | |
-3 11.82 host vm-ds-02 | |
6 1.82 osd.6 up 1 | |
7 1.82 osd.7 up 1 | |
8 1.82 osd.8 up 1 | |
9 1.82 osd.9 up 1 | |
10 1.82 osd.10 up 1 | |
11 1.82 osd.11 up 1 | |
-4 11.82 host vm-ds-03 | |
12 1.82 osd.12 up 1 | |
13 1.82 osd.13 up 1 | |
14 1.82 osd.14 up 1 | |
16 1.82 osd.16 down 0 | |
17 1.82 osd.17 up 1 | |
15 1.82 osd.15 up 1 | |
-5 11.82 host vm-ds-04 | |
19 1.82 osd.19 up 1 | |
20 1.82 osd.20 up 1 | |
22 1.82 osd.22 up 1 | |
23 1.82 osd.23 up 1 | |
36 1.82 osd.36 up 1 | |
18 1.82 osd.18 up 1 | |
-6 10.92 host vm-ds-05 | |
24 1.82 osd.24 up 1 | |
25 1.82 osd.25 up 1 | |
26 1.82 osd.26 up 1 | |
27 1.82 osd.27 up 1 | |
29 1.82 osd.29 up 1 | |
21 1.82 osd.21 up 1 | |
-7 10.92 host vm-ds-06 | |
30 1.82 osd.30 up 1 | |
31 1.82 osd.31 up 1 | |
33 1.82 osd.33 up 1 | |
34 1.82 osd.34 up 1 | |
35 1.82 osd.35 up 1 | |
28 1.82 osd.28 up 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment