1 $ osdmaptool --createsimple 3 om --with-default-pool
2 osdmaptool: osdmap file 'om'
3 osdmaptool: writing epoch 1 to om
5 $ osdmaptool --tree=plain om
6 osdmaptool: osdmap file 'om'
7 ID CLASS WEIGHT TYPE NAME STATUS REWEIGHT PRI-AFF
8 -1 3.00000 root default
9 -3 3.00000 rack localrack
10 -2 3.00000 host localhost
15 $ osdmaptool --tree=json-pretty om
16 osdmaptool: osdmap file 'om'
55 "crush_weight": 1.000000,
61 "primary_affinity": 1.000000
68 "crush_weight": 1.000000,
74 "primary_affinity": 1.000000
81 "crush_weight": 1.000000,
87 "primary_affinity": 1.000000