aboutsummaryrefslogtreecommitdiff
path: root/weed/command/volume.go
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2022-01-13 13:03:04 -0800
committerchrislu <chris.lu@gmail.com>2022-01-13 13:03:04 -0800
commit8907e6a40ac8c97e7c97f73d45cc528b72deb5ae (patch)
treec0b9a141c95ca3b7de314918fd96d57a7085b29c /weed/command/volume.go
parentfe5b9e39cc5a3526a0fdadf8b518b67b02d5451b (diff)
downloadseaweedfs-8907e6a40ac8c97e7c97f73d45cc528b72deb5ae.tar.xz
seaweedfs-8907e6a40ac8c97e7c97f73d45cc528b72deb5ae.zip
add more help messages
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 fa4ad3b7f..5b9d94b9a 100644
--- a/weed/command/volume.go
+++ b/weed/command/volume.go
@@ -107,7 +107,7 @@ var cmdVolume = &Command{
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.")
+ maxVolumeCounts = cmdVolume.Flag.String("max", "8", "maximum numbers of volumes, count[,count]... If set to zero, the limit will be auto configured as free disk space divided by volume size.")
volumeWhiteListOption = cmdVolume.Flag.String("whiteList", "", "comma separated Ip addresses having write permission. No limit if empty.")
minFreeSpacePercent = cmdVolume.Flag.String("minFreeSpacePercent", "1", "minimum free disk space (default to 1%). Low disk space will mark all volumes as ReadOnly (deprecated, use minFreeSpace instead).")
minFreeSpace = cmdVolume.Flag.String("minFreeSpace", "", "min free disk space (value<=100 as percentage like 1, other as human readable bytes, like 10GiB). Low disk space will mark all volumes as ReadOnly.")