diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-07-03 16:42:02 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-07-03 16:42:02 -0700 |
| commit | acf4a9ea998dc347fde2445958450bbde7732c6b (patch) | |
| tree | 4299541ca34976bd17e4018ea9247b88499c2efe | |
| parent | 4d1484628adbb73dfaf619c3fbe21521b54c4619 (diff) | |
| download | seaweedfs-acf4a9ea998dc347fde2445958450bbde7732c6b.tar.xz seaweedfs-acf4a9ea998dc347fde2445958450bbde7732c6b.zip | |
volume: min free space default to 1%
| -rw-r--r-- | weed/command/volume.go | 2 |
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 { |
