aboutsummaryrefslogtreecommitdiff
path: root/weed/command/master.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2019-04-08 22:32:42 -0700
committerChris Lu <chris.lu@gmail.com>2019-04-08 22:32:42 -0700
commit88ba08cb9e8e15e34e481143a6beec1390dc4874 (patch)
tree67b1bf0580aead9f5b9bdf8f5884c567caa6d68a /weed/command/master.go
parent784c5bb73a71bad615e500e4254c11e736b99a41 (diff)
downloadseaweedfs-88ba08cb9e8e15e34e481143a6beec1390dc4874.tar.xz
seaweedfs-88ba08cb9e8e15e34e481143a6beec1390dc4874.zip
add large disk support
Diffstat (limited to 'weed/command/master.go')
-rw-r--r--weed/command/master.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/master.go b/weed/command/master.go
index 15d1171e0..cd5704c3f 100644
--- a/weed/command/master.go
+++ b/weed/command/master.go
@@ -70,7 +70,7 @@ func runMaster(cmd *Command, args []string) bool {
if *masterWhiteListOption != "" {
masterWhiteList = strings.Split(*masterWhiteListOption, ",")
}
- if *volumeSizeLimitMB > 30*1000 {
+ if *volumeSizeLimitMB > util.VolumeSizeLimitGB*1000 {
glog.Fatalf("volumeSizeLimitMB should be smaller than 30000")
}