The following options aree handy when using ``vstart.sh``,
``--crimson``
- start ``crimson-osd`` instead of ``ceph-osd``
+ Start ``crimson-osd`` instead of ``ceph-osd``.
``--nodaemon``
- do not daemonize the service
+ Do not daemonize the service.
``--redirect-output``
Redirect the ``stdout`` and ``stderr`` to ``out/$type.$num.stdout``.
for additional Seastar-specific command line options.
``--cyanstore``
- use CyanStore as the object store backend.
+ Use CyanStore as the object store backend.
``--bluestore``
Use the alienized BlueStore as the object store backend. This is the default.
kstore_path=
declare -a block_devs
declare -a secondary_block_devs
+secondary_block_devs_type="SSD"
VSTART_SEC="client.vstart.sh"
--no-restart: dont restart process when using ceph-run
--jaeger: use jaegertracing for tracing
--seastore-devs: comma-separated list of blockdevs to use for seastore
- --seastore-secondary-des: comma-separated list of secondary blockdevs to use for seastore
+ --seastore-secondary-devs: comma-separated list of secondary blockdevs to use for seastore
+ --seastore-secondary-devs-type: device type of all secondary blockdevs. HDD, SSD(default), ZNS or RANDOM_BLOCK_SSD
--crimson-smp: number of cores to use for crimson
\n
EOF
parse_secondary_devs --seastore-devs "$2"
shift
;;
+ --seastore-secondary-devs-type)
+ secondary_block_devs_type="$2"
+ shift
+ ;;
--crimson-smp)
crimson_smp=$2
shift
fi
if [ -n "${secondary_block_devs[$osd]}" ]; then
dd if=/dev/zero of=${secondary_block_devs[$osd]} bs=1M count=1
- ln -s ${secondary_block_devs[$osd]} $CEPH_DEV_DIR/osd$osd/block.segmented.1
+ mkdir -p $CEPH_DEV_DIR/osd$osd/block.${secondary_block_devs_type}.1
+ ln -s ${secondary_block_devs[$osd]} $CEPH_DEV_DIR/osd$osd/block.${secondary_block_devs_type}.1/block
fi
fi
if [ "$objectstore" == "bluestore" ]; then