]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/vstart.sh
update ceph source to reef 18.2.1
[ceph.git] / ceph / src / vstart.sh
index 02d84cc7fcc3c110fd6048d1ebf7272ed47ea095..92da54e8785f6d209b50cfc506ee371226333055 100755 (executable)
@@ -253,6 +253,7 @@ options:
        --no-parallel: dont start all OSDs in parallel
        --no-restart: dont restart process when using ceph-run
        --jaeger: use jaegertracing for tracing
+       --seastore-device-size: set total size of seastore
        --seastore-devs: comma-separated list of 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
@@ -501,6 +502,10 @@ case $1 in
     --with-restful)
         with_mgr_restful=true
         ;;
+    --seastore-device-size)
+        seastore_size="$2"
+        shift
+        ;;
     --seastore-devs)
         parse_block_devs --seastore-devs "$2"
         shift
@@ -784,6 +789,14 @@ EOF
         bdev ioring = true"
         fi
     fi
+
+    if [ "$objectstore" == "seastore" ]; then
+      if [[ ${seastore_size+x} ]]; then
+        SEASTORE_OPTS="
+        seastore device size = $seastore_size"
+      fi
+    fi
+
     wconf <<EOF
 [client]
 $CCLIENTDEBUG
@@ -835,6 +848,7 @@ $BLUESTORE_OPTS
         ; kstore
         kstore fsck on mount = true
         osd objectstore = $objectstore
+$SEASTORE_OPTS
 $COSDSHORT
         $(format_conf "${extra_conf}")
 [mon]