aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-07-03 16:42:02 -0700
committerChris Lu <chris.lu@gmail.com>2020-07-03 16:42:02 -0700
commitacf4a9ea998dc347fde2445958450bbde7732c6b (patch)
tree4299541ca34976bd17e4018ea9247b88499c2efe
parent4d1484628adbb73dfaf619c3fbe21521b54c4619 (diff)
downloadseaweedfs-acf4a9ea998dc347fde2445958450bbde7732c6b.tar.xz
seaweedfs-acf4a9ea998dc347fde2445958450bbde7732c6b.zip
volume: min free space default to 1%
-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 1b222f090..0a7d52049 100644
--- a/weed/command/volume.go
+++ b/weed/command/volume.go
@@ -90,7 +90,7 @@ var (
volumeFolders = cmdVolume.Flag.String("dir", os.TempDir(), "directories to store data files. dir[,dir]...")
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.")
+ minFreeSpacePercent = cmdVolume.Flag.String("minFreeSpacePercent", "1", "minimum free disk space (default to 1%). Low disk space will mark all volumes as ReadOnly.")
)
func runVolume(cmd *Command, args []string) bool {