- $ osdmaptool --create-from-conf om -c $TESTDIR/ceph.conf.withracks
+ $ osdmaptool --create-from-conf om -c $TESTDIR/ceph.conf.withracks --with-default-pool
osdmaptool: osdmap file 'om'
osdmaptool: writing epoch 1 to om
$ osdmaptool --export-crush oc om
tunable allowed_bucket_algs 54
# devices
- device 0 device0
device 1 osd.1
device 2 osd.2
device 3 osd.3
# rules
rule replicated_rule {
- \truleset 0 (esc)
+ \tid 0 (esc)
\ttype replicated (esc)
\tmin_size 1 (esc)
\tmax_size 10 (esc)
nearfull_ratio 0
min_compat_client jewel
- pool 0 '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
+ 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
max_osd 239
- $ osdmaptool --clobber --create-from-conf om -c $TESTDIR/ceph.conf.withracks
+ $ osdmaptool --clobber --create-from-conf --with-default-pool om -c $TESTDIR/ceph.conf.withracks
osdmaptool: osdmap file 'om'
osdmaptool: writing epoch 1 to om
- $ osdmaptool --print om | grep 'pool 0'
+ $ osdmaptool --print om | grep 'pool 1'
osdmaptool: osdmap file 'om'
- pool 0 '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
+ 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
$ rm -f om