aboutsummaryrefslogtreecommitdiff
path: root/weed/command/volume.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-06-28 14:34:21 -0700
committerChris Lu <chris.lu@gmail.com>2020-06-28 14:34:21 -0700
commit12f6b683fcb2870bc096d35ac7366b270e6d8762 (patch)
tree496037ba0aba2838cf2c1023474ea88646365e70 /weed/command/volume.go
parent42a338d7b0cba93b0feadd0cb826e301876b109d (diff)
downloadseaweedfs-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/volume.go')
-rw-r--r--weed/command/volume.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/volume.go b/weed/command/volume.go
index 8eed851b0..c7eac95b6 100644
--- a/weed/command/volume.go
+++ b/weed/command/volume.go
@@ -88,7 +88,7 @@ var cmdVolume = &Command{
var (
volumeFolders = cmdVolume.Flag.String("dir", os.TempDir(), "directories to store data files. dir[,dir]...")
- maxVolumeCounts = cmdVolume.Flag.String("max", "7", "maximum numbers of volumes, count[,count]... If set to zero, the limit will be auto configured.")
+ maxVolumeCounts = cmdVolume.Flag.String("max", "8", "maximum numbers of volumes, count[,count]... If set to zero, the limit will be auto configured.")
volumeWhiteListOption = cmdVolume.Flag.String("whiteList", "", "comma separated Ip addresses having write permission. No limit if empty.")
minFreeSpacePercent = cmdVolume.Flag.String("minFreeSpacePercent", "0", "minimum free disk space(in percents). Low disk space will mark all volumes as ReadOnly.")
)