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