SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
Remove volumePreallocate option from docker containers (#8451)
Chris Lu9b6bbf7d45ba
diff --git a/docker/entrypoint.sh b/docker/entrypoint.shindex d5ef16be1c..7d8bd24f2e 100755--- a/docker/entrypoint.sh+++ b/docker/entrypoint.sh@@ -58,7 +58,7 @@ isArgPassed() {case "$1" in'master')- ARGS="-mdir=/data -volumePreallocate -volumeSizeLimitMB=1024"+ ARGS="-mdir=/data -volumeSizeLimitMB=1024"shiftexec /usr/bin/weed -logtostderr=true master $ARGS $@;;@@ -73,9 +73,9 @@ case "$1" in;;'server')- ARGS="-dir=/data -volume.max=0 -master.volumePreallocate -master.volumeSizeLimitMB=1024"+ ARGS="-dir=/data -volume.max=0 -master.volumeSizeLimitMB=1024"if isArgPassed "-volume.max" "$@"; then- ARGS="-dir=/data -master.volumePreallocate -master.volumeSizeLimitMB=1024"+ ARGS="-dir=/data -master.volumeSizeLimitMB=1024"fishiftexec /usr/bin/weed -logtostderr=true server $ARGS $@diff --git a/docker/entrypoint_e2e.sh b/docker/entrypoint_e2e.shindex 9716bf37e7..291cc043bf 100755--- a/docker/entrypoint_e2e.sh+++ b/docker/entrypoint_e2e.sh@@ -33,7 +33,7 @@ isArgPassed() {case "$1" in'master')- ARGS="-mdir=/data -volumePreallocate -volumeSizeLimitMB=1024"+ ARGS="-mdir=/data -volumeSizeLimitMB=1024"shiftexec /usr/bin/weed -logtostderr=true master $ARGS "$@";;@@ -48,9 +48,9 @@ case "$1" in;;'server')- ARGS="-dir=/data -volume.max=0 -master.volumePreallocate -master.volumeSizeLimitMB=1024"+ ARGS="-dir=/data -volume.max=0 -master.volumeSizeLimitMB=1024"if isArgPassed "-volume.max" "$@"; then- ARGS="-dir=/data -master.volumePreallocate -master.volumeSizeLimitMB=1024"+ ARGS="-dir=/data -master.volumeSizeLimitMB=1024"fishiftexec /usr/bin/weed -logtostderr=true server $ARGS "$@"