diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-06-28 14:34:21 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-06-28 14:34:21 -0700 |
| commit | 12f6b683fcb2870bc096d35ac7366b270e6d8762 (patch) | |
| tree | 496037ba0aba2838cf2c1023474ea88646365e70 /weed/command/server.go | |
| parent | 42a338d7b0cba93b0feadd0cb826e301876b109d (diff) | |
| download | seaweedfs-12f6b683fcb2870bc096d35ac7366b270e6d8762.tar.xz seaweedfs-12f6b683fcb2870bc096d35ac7366b270e6d8762.zip | |
default to 8 volumes
in case all the volumes are allocated for a collection
Diffstat (limited to 'weed/command/server.go')
| -rw-r--r-- | weed/command/server.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/server.go b/weed/command/server.go index 0b67b3d6a..1dc26da05 100644 --- a/weed/command/server.go +++ b/weed/command/server.go @@ -54,7 +54,7 @@ var ( serverWhiteListOption = cmdServer.Flag.String("whiteList", "", "comma separated Ip addresses having write permission. No limit if empty.") serverDisableHttp = cmdServer.Flag.Bool("disableHttp", false, "disable http requests, only gRPC operations are allowed.") volumeDataFolders = cmdServer.Flag.String("dir", os.TempDir(), "directories to store data files. dir[,dir]...") - volumeMaxDataVolumeCounts = cmdServer.Flag.String("volume.max", "7", "maximum numbers of volumes, count[,count]... If set to zero, the limit will be auto configured.") + volumeMaxDataVolumeCounts = cmdServer.Flag.String("volume.max", "8", "maximum numbers of volumes, count[,count]... If set to zero, the limit will be auto configured.") volumeMinFreeSpacePercent = cmdServer.Flag.String("volume.minFreeSpacePercent", "0", "minimum free disk space(in percents). Low disk space will mark all volumes as ReadOnly.") // pulseSeconds = cmdServer.Flag.Int("pulseSeconds", 5, "number of seconds between heartbeats") |
