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
ensure 30GB or less
Chris Lue0dfa7a069ee
diff --git a/weed/command/master.go b/weed/command/master.goindex 8c5efbb9f1..16e343f771 100644--- a/weed/command/master.go+++ b/weed/command/master.go@@ -65,6 +65,9 @@ func runMaster(cmd *Command, args []string) bool {if *masterWhiteListOption != "" {masterWhiteList = strings.Split(*masterWhiteListOption, ",")}+ if *volumeSizeLimitMB > 30*1000 {+ glog.Fatalf("volumeSizeLimitMB should be smaller than 30000")+ }r := mux.NewRouter()ms := weed_server.NewMasterServer(r, *mport, *metaFolder,diff --git a/weed/command/server.go b/weed/command/server.goindex cd8ddf66a6..2267d43822 100644--- a/weed/command/server.go+++ b/weed/command/server.go@@ -151,6 +151,10 @@ func runServer(cmd *Command, args []string) bool {}}+ if *masterVolumeSizeLimitMB > 30*1000 {+ glog.Fatalf("masterVolumeSizeLimitMB should be less than 30000")+ }+if *masterMetaFolder == "" {*masterMetaFolder = folders[0]}