overwrite_conf=1
cephx=1 #turn cephx on by default
cache=""
-memstore=0
if [ `uname` = FreeBSD ]; then
- bluestore=0
+ objectstore="filestore"
else
- bluestore=1
+ objectstore="bluestore"
fi
rgw_frontend="civetweb"
rgw_compression=""
overwrite_conf=0
;;
--memstore )
- memstore=1
+ objectstore="memstore"
;;
-b | --bluestore )
- bluestore=1
+ objectstore="bluestore"
;;
-f | --filestore )
- bluestore=0
+ objectstore="filestore"
;;
--hitset )
hitset="$hitset $2 $3"
bluestore block wal size = 1048576000
bluestore block wal create = true
$COSDDEBUG
-$COSDMEMSTORE
+ osd objectstore = $objectstore
$COSDSHORT
$extra_conf
[mon]
CMDS_ARGS=" -m "$MON_ADDR
fi
-if [ "$memstore" -eq 1 ]; then
- COSDMEMSTORE='
- osd objectstore = memstore'
-fi
-if [ "$bluestore" -eq 1 ]; then
- COSDMEMSTORE='
- osd objectstore = bluestore'
-fi
-
if [ -z "$CEPH_PORT" ]; then
CEPH_PORT=6789
[ -e ".ceph_port" ] && CEPH_PORT=`cat .ceph_port`