]> git.proxmox.com Git - ceph.git/blame - ceph/src/test/cli/osdmaptool/create-racks.t
bump version to 12.0.3-pve3
[ceph.git] / ceph / src / test / cli / osdmaptool / create-racks.t
CommitLineData
7c673cae
FG
1 $ osdmaptool --create-from-conf om -c $TESTDIR/ceph.conf.withracks
2 osdmaptool: osdmap file 'om'
3 osdmaptool: writing epoch 1 to om
4 $ osdmaptool --export-crush oc om
5 osdmaptool: osdmap file 'om'
6 osdmaptool: exported crush map to oc
7 $ crushtool --decompile oc
8 # begin crush map
9 tunable choose_local_tries 0
10 tunable choose_local_fallback_tries 0
11 tunable choose_total_tries 50
12 tunable chooseleaf_descend_once 1
13 tunable chooseleaf_vary_r 1
14 tunable straw_calc_version 1
15 tunable allowed_bucket_algs 54
16
17 # devices
18 device 0 device0
19 device 1 osd.1
20 device 2 osd.2
21 device 3 osd.3
22 device 4 osd.4
23 device 5 osd.5
24 device 6 osd.6
25 device 7 osd.7
26 device 8 osd.8
27 device 9 osd.9
28 device 10 osd.10
29 device 11 osd.11
30 device 12 osd.12
31 device 13 osd.13
32 device 14 osd.14
33 device 15 osd.15
34 device 16 osd.16
35 device 17 osd.17
36 device 18 osd.18
37 device 19 osd.19
38 device 20 osd.20
39 device 21 osd.21
40 device 22 osd.22
41 device 23 osd.23
42 device 24 osd.24
43 device 25 osd.25
44 device 26 osd.26
45 device 27 osd.27
46 device 28 osd.28
47 device 29 osd.29
48 device 30 osd.30
49 device 31 osd.31
50 device 32 osd.32
51 device 33 osd.33
52 device 34 osd.34
53 device 35 osd.35
54 device 36 osd.36
55 device 37 osd.37
56 device 38 osd.38
57 device 39 osd.39
58 device 40 osd.40
59 device 41 osd.41
60 device 42 osd.42
61 device 43 osd.43
62 device 44 osd.44
63 device 45 osd.45
64 device 46 osd.46
65 device 47 osd.47
66 device 48 osd.48
67 device 49 osd.49
68 device 50 osd.50
69 device 51 osd.51
70 device 52 osd.52
71 device 53 osd.53
72 device 54 osd.54
73 device 55 osd.55
74 device 56 osd.56
75 device 57 osd.57
76 device 58 osd.58
77 device 59 osd.59
78 device 60 osd.60
79 device 61 osd.61
80 device 62 osd.62
81 device 63 osd.63
82 device 64 osd.64
83 device 65 osd.65
84 device 66 osd.66
85 device 67 osd.67
86 device 68 osd.68
87 device 69 osd.69
88 device 70 osd.70
89 device 71 osd.71
90 device 72 osd.72
91 device 73 osd.73
92 device 74 osd.74
93 device 75 osd.75
94 device 76 osd.76
95 device 77 osd.77
96 device 78 osd.78
97 device 79 osd.79
98 device 80 osd.80
99 device 81 osd.81
100 device 82 osd.82
101 device 83 osd.83
102 device 84 osd.84
103 device 85 osd.85
104 device 86 osd.86
105 device 87 osd.87
106 device 88 osd.88
107 device 89 osd.89
108 device 90 osd.90
109 device 91 osd.91
110 device 92 osd.92
111 device 93 osd.93
112 device 94 osd.94
113 device 95 osd.95
114 device 96 osd.96
115 device 97 osd.97
116 device 98 osd.98
117 device 99 osd.99
118 device 100 osd.100
119 device 101 osd.101
120 device 102 osd.102
121 device 103 osd.103
122 device 104 osd.104
123 device 105 osd.105
124 device 106 osd.106
125 device 107 osd.107
126 device 108 osd.108
127 device 109 osd.109
128 device 110 osd.110
129 device 111 osd.111
130 device 112 osd.112
131 device 113 osd.113
132 device 114 osd.114
133 device 115 osd.115
134 device 116 osd.116
135 device 117 osd.117
136 device 118 osd.118
137 device 119 osd.119
138 device 120 osd.120
139 device 121 osd.121
140 device 122 osd.122
141 device 123 osd.123
142 device 124 osd.124
143 device 125 osd.125
144 device 126 osd.126
145 device 127 osd.127
146 device 128 osd.128
147 device 129 osd.129
148 device 130 osd.130
149 device 131 osd.131
150 device 132 osd.132
151 device 133 osd.133
152 device 134 osd.134
153 device 135 osd.135
154 device 136 osd.136
155 device 137 osd.137
156 device 138 osd.138
157 device 139 osd.139
158 device 140 osd.140
159 device 141 osd.141
160 device 142 osd.142
161 device 143 osd.143
162 device 144 osd.144
163 device 145 osd.145
164 device 146 osd.146
165 device 147 osd.147
166 device 148 osd.148
167 device 149 osd.149
168 device 150 osd.150
169 device 151 osd.151
170 device 152 osd.152
171 device 153 osd.153
172 device 154 osd.154
173 device 155 osd.155
174 device 156 osd.156
175 device 157 osd.157
176 device 158 osd.158
177 device 159 osd.159
178 device 160 osd.160
179 device 161 osd.161
180 device 162 osd.162
181 device 163 osd.163
182 device 164 osd.164
183 device 165 osd.165
184 device 166 osd.166
185 device 167 osd.167
186 device 168 osd.168
187 device 169 osd.169
188 device 170 osd.170
189 device 171 osd.171
190 device 172 osd.172
191 device 173 osd.173
192 device 174 osd.174
193 device 175 osd.175
194 device 176 osd.176
195 device 177 osd.177
196 device 178 osd.178
197 device 179 osd.179
198 device 180 osd.180
199 device 181 osd.181
200 device 182 osd.182
201 device 183 osd.183
202 device 184 osd.184
203 device 185 osd.185
204 device 186 osd.186
205 device 187 osd.187
206 device 188 osd.188
207 device 189 osd.189
208 device 190 osd.190
209 device 191 osd.191
210 device 192 osd.192
211 device 193 osd.193
212 device 194 osd.194
213 device 195 osd.195
214 device 196 osd.196
215 device 197 osd.197
216 device 198 osd.198
217 device 199 osd.199
218 device 200 osd.200
219 device 201 osd.201
220 device 202 osd.202
221 device 203 osd.203
222 device 204 osd.204
223 device 205 osd.205
224 device 206 osd.206
225 device 207 osd.207
226 device 208 osd.208
227 device 209 osd.209
228 device 210 osd.210
229 device 211 osd.211
230 device 212 osd.212
231 device 213 osd.213
232 device 214 osd.214
233 device 215 osd.215
234 device 216 osd.216
235 device 217 osd.217
236 device 218 osd.218
237 device 219 osd.219
238 device 220 osd.220
239 device 221 osd.221
240 device 222 osd.222
241 device 223 osd.223
242 device 224 osd.224
243 device 225 osd.225
244 device 226 osd.226
245 device 227 osd.227
246 device 228 osd.228
247 device 229 osd.229
248 device 230 osd.230
249 device 231 osd.231
250 device 232 osd.232
251 device 233 osd.233
252 device 234 osd.234
253 device 235 osd.235
254 device 236 osd.236
255 device 237 osd.237
256 device 238 osd.238
257
258 # types
259 type 0 osd
260 type 1 host
261 type 2 chassis
262 type 3 rack
263 type 4 row
264 type 5 pdu
265 type 6 pod
266 type 7 room
267 type 8 datacenter
268 type 9 region
269 type 10 root
270
271 # buckets
272 host cephstore5522 {
273 \tid -2\t\t# do not change unnecessarily (esc)
274 \t# weight 7.000 (esc)
275 \talg straw2 (esc)
276 \thash 0\t# rjenkins1 (esc)
277 \titem osd.1 weight 1.000 (esc)
278 \titem osd.2 weight 1.000 (esc)
279 \titem osd.3 weight 1.000 (esc)
280 \titem osd.4 weight 1.000 (esc)
281 \titem osd.5 weight 1.000 (esc)
282 \titem osd.6 weight 1.000 (esc)
283 \titem osd.7 weight 1.000 (esc)
284 }
285 host cephstore5523 {
286 \tid -4\t\t# do not change unnecessarily (esc)
287 \t# weight 7.000 (esc)
288 \talg straw2 (esc)
289 \thash 0\t# rjenkins1 (esc)
290 \titem osd.10 weight 1.000 (esc)
291 \titem osd.11 weight 1.000 (esc)
292 \titem osd.12 weight 1.000 (esc)
293 \titem osd.13 weight 1.000 (esc)
294 \titem osd.14 weight 1.000 (esc)
295 \titem osd.8 weight 1.000 (esc)
296 \titem osd.9 weight 1.000 (esc)
297 }
298 host cephstore6238 {
299 \tid -8\t\t# do not change unnecessarily (esc)
300 \t# weight 7.000 (esc)
301 \talg straw2 (esc)
302 \thash 0\t# rjenkins1 (esc)
303 \titem osd.113 weight 1.000 (esc)
304 \titem osd.114 weight 1.000 (esc)
305 \titem osd.115 weight 1.000 (esc)
306 \titem osd.116 weight 1.000 (esc)
307 \titem osd.117 weight 1.000 (esc)
308 \titem osd.118 weight 1.000 (esc)
309 \titem osd.119 weight 1.000 (esc)
310 }
311 host cephstore6240 {
312 \tid -10\t\t# do not change unnecessarily (esc)
313 \t# weight 7.000 (esc)
314 \talg straw2 (esc)
315 \thash 0\t# rjenkins1 (esc)
316 \titem osd.127 weight 1.000 (esc)
317 \titem osd.128 weight 1.000 (esc)
318 \titem osd.129 weight 1.000 (esc)
319 \titem osd.130 weight 1.000 (esc)
320 \titem osd.131 weight 1.000 (esc)
321 \titem osd.132 weight 1.000 (esc)
322 \titem osd.133 weight 1.000 (esc)
323 }
324 host cephstore6242 {
325 \tid -12\t\t# do not change unnecessarily (esc)
326 \t# weight 7.000 (esc)
327 \talg straw2 (esc)
328 \thash 0\t# rjenkins1 (esc)
329 \titem osd.141 weight 1.000 (esc)
330 \titem osd.142 weight 1.000 (esc)
331 \titem osd.143 weight 1.000 (esc)
332 \titem osd.144 weight 1.000 (esc)
333 \titem osd.145 weight 1.000 (esc)
334 \titem osd.146 weight 1.000 (esc)
335 \titem osd.147 weight 1.000 (esc)
336 }
337 host cephstore5524 {
338 \tid -14\t\t# do not change unnecessarily (esc)
339 \t# weight 7.000 (esc)
340 \talg straw2 (esc)
341 \thash 0\t# rjenkins1 (esc)
342 \titem osd.15 weight 1.000 (esc)
343 \titem osd.16 weight 1.000 (esc)
344 \titem osd.17 weight 1.000 (esc)
345 \titem osd.18 weight 1.000 (esc)
346 \titem osd.19 weight 1.000 (esc)
347 \titem osd.20 weight 1.000 (esc)
348 \titem osd.21 weight 1.000 (esc)
349 }
350 host cephstore6244 {
351 \tid -15\t\t# do not change unnecessarily (esc)
352 \t# weight 7.000 (esc)
353 \talg straw2 (esc)
354 \thash 0\t# rjenkins1 (esc)
355 \titem osd.155 weight 1.000 (esc)
356 \titem osd.156 weight 1.000 (esc)
357 \titem osd.157 weight 1.000 (esc)
358 \titem osd.158 weight 1.000 (esc)
359 \titem osd.159 weight 1.000 (esc)
360 \titem osd.160 weight 1.000 (esc)
361 \titem osd.161 weight 1.000 (esc)
362 }
363 host cephstore6246 {
364 \tid -17\t\t# do not change unnecessarily (esc)
365 \t# weight 7.000 (esc)
366 \talg straw2 (esc)
367 \thash 0\t# rjenkins1 (esc)
368 \titem osd.169 weight 1.000 (esc)
369 \titem osd.170 weight 1.000 (esc)
370 \titem osd.171 weight 1.000 (esc)
371 \titem osd.172 weight 1.000 (esc)
372 \titem osd.173 weight 1.000 (esc)
373 \titem osd.174 weight 1.000 (esc)
374 \titem osd.175 weight 1.000 (esc)
375 }
376 host cephstore6337 {
377 \tid -19\t\t# do not change unnecessarily (esc)
378 \t# weight 7.000 (esc)
379 \talg straw2 (esc)
380 \thash 0\t# rjenkins1 (esc)
381 \titem osd.183 weight 1.000 (esc)
382 \titem osd.184 weight 1.000 (esc)
383 \titem osd.185 weight 1.000 (esc)
384 \titem osd.186 weight 1.000 (esc)
385 \titem osd.187 weight 1.000 (esc)
386 \titem osd.188 weight 1.000 (esc)
387 \titem osd.189 weight 1.000 (esc)
388 }
389 host cephstore6341 {
390 \tid -23\t\t# do not change unnecessarily (esc)
391 \t# weight 7.000 (esc)
392 \talg straw2 (esc)
393 \thash 0\t# rjenkins1 (esc)
394 \titem osd.211 weight 1.000 (esc)
395 \titem osd.212 weight 1.000 (esc)
396 \titem osd.213 weight 1.000 (esc)
397 \titem osd.214 weight 1.000 (esc)
398 \titem osd.215 weight 1.000 (esc)
399 \titem osd.216 weight 1.000 (esc)
400 \titem osd.217 weight 1.000 (esc)
401 }
402 host cephstore6342 {
403 \tid -24\t\t# do not change unnecessarily (esc)
404 \t# weight 7.000 (esc)
405 \talg straw2 (esc)
406 \thash 0\t# rjenkins1 (esc)
407 \titem osd.218 weight 1.000 (esc)
408 \titem osd.219 weight 1.000 (esc)
409 \titem osd.220 weight 1.000 (esc)
410 \titem osd.221 weight 1.000 (esc)
411 \titem osd.222 weight 1.000 (esc)
412 \titem osd.223 weight 1.000 (esc)
413 \titem osd.224 weight 1.000 (esc)
414 }
415 host cephstore5525 {
416 \tid -25\t\t# do not change unnecessarily (esc)
417 \t# weight 7.000 (esc)
418 \talg straw2 (esc)
419 \thash 0\t# rjenkins1 (esc)
420 \titem osd.22 weight 1.000 (esc)
421 \titem osd.23 weight 1.000 (esc)
422 \titem osd.24 weight 1.000 (esc)
423 \titem osd.25 weight 1.000 (esc)
424 \titem osd.26 weight 1.000 (esc)
425 \titem osd.27 weight 1.000 (esc)
426 \titem osd.28 weight 1.000 (esc)
427 }
428 host cephstore6345 {
429 \tid -27\t\t# do not change unnecessarily (esc)
430 \t# weight 7.000 (esc)
431 \talg straw2 (esc)
432 \thash 0\t# rjenkins1 (esc)
433 \titem osd.232 weight 1.000 (esc)
434 \titem osd.233 weight 1.000 (esc)
435 \titem osd.234 weight 1.000 (esc)
436 \titem osd.235 weight 1.000 (esc)
437 \titem osd.236 weight 1.000 (esc)
438 \titem osd.237 weight 1.000 (esc)
439 \titem osd.238 weight 1.000 (esc)
440 }
441 host cephstore5526 {
442 \tid -28\t\t# do not change unnecessarily (esc)
443 \t# weight 7.000 (esc)
444 \talg straw2 (esc)
445 \thash 0\t# rjenkins1 (esc)
446 \titem osd.29 weight 1.000 (esc)
447 \titem osd.30 weight 1.000 (esc)
448 \titem osd.31 weight 1.000 (esc)
449 \titem osd.32 weight 1.000 (esc)
450 \titem osd.33 weight 1.000 (esc)
451 \titem osd.34 weight 1.000 (esc)
452 \titem osd.35 weight 1.000 (esc)
453 }
454 host cephstore5527 {
455 \tid -29\t\t# do not change unnecessarily (esc)
456 \t# weight 7.000 (esc)
457 \talg straw2 (esc)
458 \thash 0\t# rjenkins1 (esc)
459 \titem osd.36 weight 1.000 (esc)
460 \titem osd.37 weight 1.000 (esc)
461 \titem osd.38 weight 1.000 (esc)
462 \titem osd.39 weight 1.000 (esc)
463 \titem osd.40 weight 1.000 (esc)
464 \titem osd.41 weight 1.000 (esc)
465 \titem osd.42 weight 1.000 (esc)
466 }
467 host cephstore5529 {
468 \tid -30\t\t# do not change unnecessarily (esc)
469 \t# weight 7.000 (esc)
470 \talg straw2 (esc)
471 \thash 0\t# rjenkins1 (esc)
472 \titem osd.43 weight 1.000 (esc)
473 \titem osd.44 weight 1.000 (esc)
474 \titem osd.45 weight 1.000 (esc)
475 \titem osd.46 weight 1.000 (esc)
476 \titem osd.47 weight 1.000 (esc)
477 \titem osd.48 weight 1.000 (esc)
478 \titem osd.49 weight 1.000 (esc)
479 }
480 host cephstore5530 {
481 \tid -31\t\t# do not change unnecessarily (esc)
482 \t# weight 7.000 (esc)
483 \talg straw2 (esc)
484 \thash 0\t# rjenkins1 (esc)
485 \titem osd.50 weight 1.000 (esc)
486 \titem osd.51 weight 1.000 (esc)
487 \titem osd.52 weight 1.000 (esc)
488 \titem osd.53 weight 1.000 (esc)
489 \titem osd.54 weight 1.000 (esc)
490 \titem osd.55 weight 1.000 (esc)
491 \titem osd.56 weight 1.000 (esc)
492 }
493 rack irv-n2 {
494 \tid -3\t\t# do not change unnecessarily (esc)
495 \t# weight 119.000 (esc)
496 \talg straw2 (esc)
497 \thash 0\t# rjenkins1 (esc)
498 \titem cephstore5522 weight 7.000 (esc)
499 \titem cephstore5523 weight 7.000 (esc)
500 \titem cephstore6238 weight 7.000 (esc)
501 \titem cephstore6240 weight 7.000 (esc)
502 \titem cephstore6242 weight 7.000 (esc)
503 \titem cephstore5524 weight 7.000 (esc)
504 \titem cephstore6244 weight 7.000 (esc)
505 \titem cephstore6246 weight 7.000 (esc)
506 \titem cephstore6337 weight 7.000 (esc)
507 \titem cephstore6341 weight 7.000 (esc)
508 \titem cephstore6342 weight 7.000 (esc)
509 \titem cephstore5525 weight 7.000 (esc)
510 \titem cephstore6345 weight 7.000 (esc)
511 \titem cephstore5526 weight 7.000 (esc)
512 \titem cephstore5527 weight 7.000 (esc)
513 \titem cephstore5529 weight 7.000 (esc)
514 \titem cephstore5530 weight 7.000 (esc)
515 }
516 host cephstore6236 {
517 \tid -5\t\t# do not change unnecessarily (esc)
518 \t# weight 7.000 (esc)
519 \talg straw2 (esc)
520 \thash 0\t# rjenkins1 (esc)
521 \titem osd.100 weight 1.000 (esc)
522 \titem osd.101 weight 1.000 (esc)
523 \titem osd.102 weight 1.000 (esc)
524 \titem osd.103 weight 1.000 (esc)
525 \titem osd.104 weight 1.000 (esc)
526 \titem osd.105 weight 1.000 (esc)
527 \titem osd.99 weight 1.000 (esc)
528 }
529 host cephstore6237 {
530 \tid -7\t\t# do not change unnecessarily (esc)
531 \t# weight 7.000 (esc)
532 \talg straw2 (esc)
533 \thash 0\t# rjenkins1 (esc)
534 \titem osd.106 weight 1.000 (esc)
535 \titem osd.107 weight 1.000 (esc)
536 \titem osd.108 weight 1.000 (esc)
537 \titem osd.109 weight 1.000 (esc)
538 \titem osd.110 weight 1.000 (esc)
539 \titem osd.111 weight 1.000 (esc)
540 \titem osd.112 weight 1.000 (esc)
541 }
542 host cephstore6239 {
543 \tid -9\t\t# do not change unnecessarily (esc)
544 \t# weight 7.000 (esc)
545 \talg straw2 (esc)
546 \thash 0\t# rjenkins1 (esc)
547 \titem osd.120 weight 1.000 (esc)
548 \titem osd.121 weight 1.000 (esc)
549 \titem osd.122 weight 1.000 (esc)
550 \titem osd.123 weight 1.000 (esc)
551 \titem osd.124 weight 1.000 (esc)
552 \titem osd.125 weight 1.000 (esc)
553 \titem osd.126 weight 1.000 (esc)
554 }
555 host cephstore6241 {
556 \tid -11\t\t# do not change unnecessarily (esc)
557 \t# weight 7.000 (esc)
558 \talg straw2 (esc)
559 \thash 0\t# rjenkins1 (esc)
560 \titem osd.134 weight 1.000 (esc)
561 \titem osd.135 weight 1.000 (esc)
562 \titem osd.136 weight 1.000 (esc)
563 \titem osd.137 weight 1.000 (esc)
564 \titem osd.138 weight 1.000 (esc)
565 \titem osd.139 weight 1.000 (esc)
566 \titem osd.140 weight 1.000 (esc)
567 }
568 host cephstore6243 {
569 \tid -13\t\t# do not change unnecessarily (esc)
570 \t# weight 7.000 (esc)
571 \talg straw2 (esc)
572 \thash 0\t# rjenkins1 (esc)
573 \titem osd.148 weight 1.000 (esc)
574 \titem osd.149 weight 1.000 (esc)
575 \titem osd.150 weight 1.000 (esc)
576 \titem osd.151 weight 1.000 (esc)
577 \titem osd.152 weight 1.000 (esc)
578 \titem osd.153 weight 1.000 (esc)
579 \titem osd.154 weight 1.000 (esc)
580 }
581 host cephstore6245 {
582 \tid -16\t\t# do not change unnecessarily (esc)
583 \t# weight 7.000 (esc)
584 \talg straw2 (esc)
585 \thash 0\t# rjenkins1 (esc)
586 \titem osd.162 weight 1.000 (esc)
587 \titem osd.163 weight 1.000 (esc)
588 \titem osd.164 weight 1.000 (esc)
589 \titem osd.165 weight 1.000 (esc)
590 \titem osd.166 weight 1.000 (esc)
591 \titem osd.167 weight 1.000 (esc)
592 \titem osd.168 weight 1.000 (esc)
593 }
594 host cephstore6336 {
595 \tid -18\t\t# do not change unnecessarily (esc)
596 \t# weight 7.000 (esc)
597 \talg straw2 (esc)
598 \thash 0\t# rjenkins1 (esc)
599 \titem osd.176 weight 1.000 (esc)
600 \titem osd.177 weight 1.000 (esc)
601 \titem osd.178 weight 1.000 (esc)
602 \titem osd.179 weight 1.000 (esc)
603 \titem osd.180 weight 1.000 (esc)
604 \titem osd.181 weight 1.000 (esc)
605 \titem osd.182 weight 1.000 (esc)
606 }
607 host cephstore6338 {
608 \tid -20\t\t# do not change unnecessarily (esc)
609 \t# weight 7.000 (esc)
610 \talg straw2 (esc)
611 \thash 0\t# rjenkins1 (esc)
612 \titem osd.190 weight 1.000 (esc)
613 \titem osd.191 weight 1.000 (esc)
614 \titem osd.192 weight 1.000 (esc)
615 \titem osd.193 weight 1.000 (esc)
616 \titem osd.194 weight 1.000 (esc)
617 \titem osd.195 weight 1.000 (esc)
618 \titem osd.196 weight 1.000 (esc)
619 }
620 host cephstore6339 {
621 \tid -21\t\t# do not change unnecessarily (esc)
622 \t# weight 7.000 (esc)
623 \talg straw2 (esc)
624 \thash 0\t# rjenkins1 (esc)
625 \titem osd.197 weight 1.000 (esc)
626 \titem osd.198 weight 1.000 (esc)
627 \titem osd.199 weight 1.000 (esc)
628 \titem osd.200 weight 1.000 (esc)
629 \titem osd.201 weight 1.000 (esc)
630 \titem osd.202 weight 1.000 (esc)
631 \titem osd.203 weight 1.000 (esc)
632 }
633 host cephstore6340 {
634 \tid -22\t\t# do not change unnecessarily (esc)
635 \t# weight 7.000 (esc)
636 \talg straw2 (esc)
637 \thash 0\t# rjenkins1 (esc)
638 \titem osd.204 weight 1.000 (esc)
639 \titem osd.205 weight 1.000 (esc)
640 \titem osd.206 weight 1.000 (esc)
641 \titem osd.207 weight 1.000 (esc)
642 \titem osd.208 weight 1.000 (esc)
643 \titem osd.209 weight 1.000 (esc)
644 \titem osd.210 weight 1.000 (esc)
645 }
646 host cephstore6343 {
647 \tid -26\t\t# do not change unnecessarily (esc)
648 \t# weight 7.000 (esc)
649 \talg straw2 (esc)
650 \thash 0\t# rjenkins1 (esc)
651 \titem osd.225 weight 1.000 (esc)
652 \titem osd.226 weight 1.000 (esc)
653 \titem osd.227 weight 1.000 (esc)
654 \titem osd.228 weight 1.000 (esc)
655 \titem osd.229 weight 1.000 (esc)
656 \titem osd.230 weight 1.000 (esc)
657 \titem osd.231 weight 1.000 (esc)
658 }
659 host cephstore6230 {
660 \tid -32\t\t# do not change unnecessarily (esc)
661 \t# weight 7.000 (esc)
662 \talg straw2 (esc)
663 \thash 0\t# rjenkins1 (esc)
664 \titem osd.57 weight 1.000 (esc)
665 \titem osd.58 weight 1.000 (esc)
666 \titem osd.59 weight 1.000 (esc)
667 \titem osd.60 weight 1.000 (esc)
668 \titem osd.61 weight 1.000 (esc)
669 \titem osd.62 weight 1.000 (esc)
670 \titem osd.63 weight 1.000 (esc)
671 }
672 host cephstore6231 {
673 \tid -33\t\t# do not change unnecessarily (esc)
674 \t# weight 7.000 (esc)
675 \talg straw2 (esc)
676 \thash 0\t# rjenkins1 (esc)
677 \titem osd.64 weight 1.000 (esc)
678 \titem osd.65 weight 1.000 (esc)
679 \titem osd.66 weight 1.000 (esc)
680 \titem osd.67 weight 1.000 (esc)
681 \titem osd.68 weight 1.000 (esc)
682 \titem osd.69 weight 1.000 (esc)
683 \titem osd.70 weight 1.000 (esc)
684 }
685 host cephstore6232 {
686 \tid -34\t\t# do not change unnecessarily (esc)
687 \t# weight 7.000 (esc)
688 \talg straw2 (esc)
689 \thash 0\t# rjenkins1 (esc)
690 \titem osd.71 weight 1.000 (esc)
691 \titem osd.72 weight 1.000 (esc)
692 \titem osd.73 weight 1.000 (esc)
693 \titem osd.74 weight 1.000 (esc)
694 \titem osd.75 weight 1.000 (esc)
695 \titem osd.76 weight 1.000 (esc)
696 \titem osd.77 weight 1.000 (esc)
697 }
698 host cephstore6233 {
699 \tid -35\t\t# do not change unnecessarily (esc)
700 \t# weight 7.000 (esc)
701 \talg straw2 (esc)
702 \thash 0\t# rjenkins1 (esc)
703 \titem osd.78 weight 1.000 (esc)
704 \titem osd.79 weight 1.000 (esc)
705 \titem osd.80 weight 1.000 (esc)
706 \titem osd.81 weight 1.000 (esc)
707 \titem osd.82 weight 1.000 (esc)
708 \titem osd.83 weight 1.000 (esc)
709 \titem osd.84 weight 1.000 (esc)
710 }
711 host cephstore6234 {
712 \tid -36\t\t# do not change unnecessarily (esc)
713 \t# weight 7.000 (esc)
714 \talg straw2 (esc)
715 \thash 0\t# rjenkins1 (esc)
716 \titem osd.85 weight 1.000 (esc)
717 \titem osd.86 weight 1.000 (esc)
718 \titem osd.87 weight 1.000 (esc)
719 \titem osd.88 weight 1.000 (esc)
720 \titem osd.89 weight 1.000 (esc)
721 \titem osd.90 weight 1.000 (esc)
722 \titem osd.91 weight 1.000 (esc)
723 }
724 host cephstore6235 {
725 \tid -37\t\t# do not change unnecessarily (esc)
726 \t# weight 7.000 (esc)
727 \talg straw2 (esc)
728 \thash 0\t# rjenkins1 (esc)
729 \titem osd.92 weight 1.000 (esc)
730 \titem osd.93 weight 1.000 (esc)
731 \titem osd.94 weight 1.000 (esc)
732 \titem osd.95 weight 1.000 (esc)
733 \titem osd.96 weight 1.000 (esc)
734 \titem osd.97 weight 1.000 (esc)
735 \titem osd.98 weight 1.000 (esc)
736 }
737 rack irv-n1 {
738 \tid -6\t\t# do not change unnecessarily (esc)
739 \t# weight 119.000 (esc)
740 \talg straw2 (esc)
741 \thash 0\t# rjenkins1 (esc)
742 \titem cephstore6236 weight 7.000 (esc)
743 \titem cephstore6237 weight 7.000 (esc)
744 \titem cephstore6239 weight 7.000 (esc)
745 \titem cephstore6241 weight 7.000 (esc)
746 \titem cephstore6243 weight 7.000 (esc)
747 \titem cephstore6245 weight 7.000 (esc)
748 \titem cephstore6336 weight 7.000 (esc)
749 \titem cephstore6338 weight 7.000 (esc)
750 \titem cephstore6339 weight 7.000 (esc)
751 \titem cephstore6340 weight 7.000 (esc)
752 \titem cephstore6343 weight 7.000 (esc)
753 \titem cephstore6230 weight 7.000 (esc)
754 \titem cephstore6231 weight 7.000 (esc)
755 \titem cephstore6232 weight 7.000 (esc)
756 \titem cephstore6233 weight 7.000 (esc)
757 \titem cephstore6234 weight 7.000 (esc)
758 \titem cephstore6235 weight 7.000 (esc)
759 }
760 root default {
761 \tid -1\t\t# do not change unnecessarily (esc)
762 \t# weight 238.000 (esc)
763 \talg straw2 (esc)
764 \thash 0\t# rjenkins1 (esc)
765 \titem irv-n2 weight 119.000 (esc)
766 \titem irv-n1 weight 119.000 (esc)
767 }
768
769 # rules
770 rule replicated_ruleset {
771 \truleset 0 (esc)
772 \ttype replicated (esc)
773 \tmin_size 1 (esc)
774 \tmax_size 10 (esc)
775 \tstep take default (esc)
776 \tstep chooseleaf firstn 0 type host (esc)
777 \tstep emit (esc)
778 }
779
780 # end crush map
781 $ rm oc
782 $ osdmaptool --test-map-pg 0.0 om
783 osdmaptool: osdmap file 'om'
784 parsed '0.0' -> 0.0
785 0.0 raw ([], p-1) up ([], p-1) acting ([], p-1)
786 $ osdmaptool --print om
787 osdmaptool: osdmap file 'om'
788 epoch 1
789 fsid [0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12} (re)
790 created \d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}\.\d+ (re)
791 modified \d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}\.\d+ (re)
792 flags
793 full_ratio 0
794 backfillfull_ratio 0
795 nearfull_ratio 0
796 min_compat_client hammer 0.94
797
798 pool 0 'rbd' replicated size 3 min_size 2 crush_ruleset 0 object_hash rjenkins pg_num 15296 pgp_num 15296 last_change 0 flags hashpspool stripe_width 0
799
800 max_osd 239
801
802
803 $ osdmaptool --clobber --create-from-conf --osd_pool_default_crush_replicated_ruleset 55 om -c $TESTDIR/ceph.conf.withracks
804 osdmaptool: osdmap file 'om'
805 osdmaptool: writing epoch 1 to om
806 $ osdmaptool --print om | grep 'pool 0'
807 osdmaptool: osdmap file 'om'
808 pool 0 'rbd' replicated size 3 min_size 2 crush_ruleset 55 object_hash rjenkins pg_num 15296 pgp_num 15296 last_change 0 flags hashpspool stripe_width 0
809 $ osdmaptool --clobber --create-from-conf --osd_pool_default_crush_rule 55 om -c $TESTDIR/ceph.conf.withracks 2>&1 >/dev/null | sed -e 's/^.* 0 osd_pool_//'
810 osdmaptool: osdmap file 'om'
811 default_crush_rule is deprecated use osd_pool_default_crush_replicated_ruleset instead
812 default_crush_rule = 55 overrides osd_pool_default_crush_replicated_ruleset = 0
813 $ osdmaptool --print om | grep 'pool 0'
814 osdmaptool: osdmap file 'om'
815 pool 0 'rbd' replicated size 3 min_size 2 crush_ruleset 55 object_hash rjenkins pg_num 15296 pgp_num 15296 last_change 0 flags hashpspool stripe_width 0
816 $ osdmaptool --clobber --create-from-conf --osd_pool_default_crush_replicated_ruleset 66 --osd_pool_default_crush_rule 55 om -c $TESTDIR/ceph.conf.withracks 2>&1 >/dev/null | sed -e 's/^.* 0 osd_pool_//'
817 osdmaptool: osdmap file 'om'
818 default_crush_rule is deprecated use osd_pool_default_crush_replicated_ruleset instead
819 default_crush_rule = 55 overrides osd_pool_default_crush_replicated_ruleset = 66
820 $ osdmaptool --print om | grep 'pool 0'
821 osdmaptool: osdmap file 'om'
822 pool 0 'rbd' replicated size 3 min_size 2 crush_ruleset 55 object_hash rjenkins pg_num 15296 pgp_num 15296 last_change 0 flags hashpspool stripe_width 0
823 $ rm -f om