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
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
273 \tid -2\t\t# do not change unnecessarily (esc)
274 \t# weight 7.000 (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)
286 \tid -4\t\t# do not change unnecessarily (esc)
287 \t# weight 7.000 (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)
299 \tid -8\t\t# do not change unnecessarily (esc)
300 \t# weight 7.000 (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)
312 \tid -10\t\t# do not change unnecessarily (esc)
313 \t# weight 7.000 (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)
325 \tid -12\t\t# do not change unnecessarily (esc)
326 \t# weight 7.000 (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)
338 \tid -14\t\t# do not change unnecessarily (esc)
339 \t# weight 7.000 (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)
351 \tid -15\t\t# do not change unnecessarily (esc)
352 \t# weight 7.000 (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)
364 \tid -17\t\t# do not change unnecessarily (esc)
365 \t# weight 7.000 (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)
377 \tid -19\t\t# do not change unnecessarily (esc)
378 \t# weight 7.000 (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)
390 \tid -23\t\t# do not change unnecessarily (esc)
391 \t# weight 7.000 (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)
403 \tid -24\t\t# do not change unnecessarily (esc)
404 \t# weight 7.000 (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)
416 \tid -25\t\t# do not change unnecessarily (esc)
417 \t# weight 7.000 (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)
429 \tid -27\t\t# do not change unnecessarily (esc)
430 \t# weight 7.000 (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)
442 \tid -28\t\t# do not change unnecessarily (esc)
443 \t# weight 7.000 (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)
455 \tid -29\t\t# do not change unnecessarily (esc)
456 \t# weight 7.000 (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)
468 \tid -30\t\t# do not change unnecessarily (esc)
469 \t# weight 7.000 (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)
481 \tid -31\t\t# do not change unnecessarily (esc)
482 \t# weight 7.000 (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)
494 \tid -3\t\t# do not change unnecessarily (esc)
495 \t# weight 119.000 (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)
517 \tid -5\t\t# do not change unnecessarily (esc)
518 \t# weight 7.000 (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)
530 \tid -7\t\t# do not change unnecessarily (esc)
531 \t# weight 7.000 (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)
543 \tid -9\t\t# do not change unnecessarily (esc)
544 \t# weight 7.000 (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)
556 \tid -11\t\t# do not change unnecessarily (esc)
557 \t# weight 7.000 (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)
569 \tid -13\t\t# do not change unnecessarily (esc)
570 \t# weight 7.000 (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)
582 \tid -16\t\t# do not change unnecessarily (esc)
583 \t# weight 7.000 (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)
595 \tid -18\t\t# do not change unnecessarily (esc)
596 \t# weight 7.000 (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)
608 \tid -20\t\t# do not change unnecessarily (esc)
609 \t# weight 7.000 (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)
621 \tid -21\t\t# do not change unnecessarily (esc)
622 \t# weight 7.000 (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)
634 \tid -22\t\t# do not change unnecessarily (esc)
635 \t# weight 7.000 (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)
647 \tid -26\t\t# do not change unnecessarily (esc)
648 \t# weight 7.000 (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)
660 \tid -32\t\t# do not change unnecessarily (esc)
661 \t# weight 7.000 (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)
673 \tid -33\t\t# do not change unnecessarily (esc)
674 \t# weight 7.000 (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)
686 \tid -34\t\t# do not change unnecessarily (esc)
687 \t# weight 7.000 (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)
699 \tid -35\t\t# do not change unnecessarily (esc)
700 \t# weight 7.000 (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)
712 \tid -36\t\t# do not change unnecessarily (esc)
713 \t# weight 7.000 (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)
725 \tid -37\t\t# do not change unnecessarily (esc)
726 \t# weight 7.000 (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)
738 \tid -6\t\t# do not change unnecessarily (esc)
739 \t# weight 119.000 (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)
761 \tid -1\t\t# do not change unnecessarily (esc)
762 \t# weight 238.000 (esc)
764 \thash 0\t# rjenkins1 (esc)
765 \titem irv-n2 weight 119.000 (esc)
766 \titem irv-n1 weight 119.000 (esc)
770 rule replicated_rule {
772 \ttype replicated (esc)
775 \tstep take default (esc)
776 \tstep chooseleaf firstn 0 type host (esc)
782 $ osdmaptool --test-map-pg 0.0 om
783 osdmaptool: osdmap file 'om'
785 0.0 raw ([], p-1) up ([], p-1) acting ([], p-1)
786 $ osdmaptool --print om
787 osdmaptool: osdmap file 'om'
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)
797 min_compat_client jewel
799 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 application rbd
804 $ osdmaptool --clobber --create-from-conf --with-default-pool om -c $TESTDIR/ceph.conf.withracks
805 osdmaptool: osdmap file 'om'
806 osdmaptool: writing epoch 1 to om
807 $ osdmaptool --print om | grep 'pool 1'
808 osdmaptool: osdmap file 'om'
809 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 application rbd