diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-03-22 16:27:15 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-03-22 16:27:15 -0700 |
| commit | e32999108abbbc3973d7f423498899435313d58b (patch) | |
| tree | 0217933b299a180f3ce4fb8bf4e2deeafffaaecf | |
| parent | 3137777d8395111f6c1eb4b3653e13f4961b8510 (diff) | |
| download | seaweedfs-e32999108abbbc3973d7f423498899435313d58b.tar.xz seaweedfs-e32999108abbbc3973d7f423498899435313d58b.zip | |
add auto configured volume max count help messge
| -rw-r--r-- | weed/command/server.go | 2 | ||||
| -rw-r--r-- | weed/command/volume.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/weed/command/server.go b/weed/command/server.go index 560b90037..8e0d41277 100644 --- a/weed/command/server.go +++ b/weed/command/server.go @@ -53,7 +53,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]...") + volumeMaxDataVolumeCounts = cmdServer.Flag.String("volume.max", "7", "maximum numbers of volumes, count[,count]... If set to zero on non-windows OS, the limit will be auto configured.") pulseSeconds = cmdServer.Flag.Int("pulseSeconds", 5, "number of seconds between heartbeats") isStartingFiler = cmdServer.Flag.Bool("filer", false, "whether to start filer") isStartingS3 = cmdServer.Flag.Bool("s3", false, "whether to start S3 gateway") diff --git a/weed/command/volume.go b/weed/command/volume.go index 4773d8a55..68a0ce223 100644 --- a/weed/command/volume.go +++ b/weed/command/volume.go @@ -84,7 +84,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]...") + maxVolumeCounts = cmdVolume.Flag.String("max", "7", "maximum numbers of volumes, count[,count]... If set to zero on non-windows OS, the limit will be auto configured.") volumeWhiteListOption = cmdVolume.Flag.String("whiteList", "", "comma separated Ip addresses having write permission. No limit if empty.") ) |
