This lets OSDMap::create_simple() see g_conf.osd_pool_default_size when
creating the initial data, metadata, and rbd pools.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
fi
echo " num osd = $numosd"
- $BINDIR/osdmaptool --createsimple $numosd $dir/osdmap
+ $BINDIR/osdmaptool --createsimple $numosd $dir/osdmap -c ceph.conf
fi
# import crush map?
if [ "$start_mon" -eq 1 ]; then
if [ "$new" -eq 1 ]; then
# build and inject an initial osd map
- $CEPH_BIN/osdmaptool --clobber --createsimple $CEPH_NUM_OSD $osdmap_fn --pg_bits 2 --pgp_bits 4
+ $CEPH_BIN/osdmaptool --clobber --createsimple $CEPH_NUM_OSD $osdmap_fn --pg_bits 2 --pgp_bits 4 -c $conf
fi
if [ "$new" -eq 1 ]; then