From adf4399ecb50a9416944f9b3bd42d10f4af76ef9 Mon Sep 17 00:00:00 2001 From: Sergio Rubio Date: Sat, 27 Jun 2020 18:37:30 +0200 Subject: [PATCH] Fix volume server argument names (additional fixes) --- Production-Setup.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Production-Setup.md b/Production-Setup.md index 6bca2e3..af92dc4 100644 --- a/Production-Setup.md +++ b/Production-Setup.md @@ -67,14 +67,14 @@ Adding volume servers is easy. Actually this is much easier than most other syst Run this to setup: ``` -weed volume -master=ip1:9333,ip2:9333,ip3:9333 -dataCenter=dc1 -rack=rack1 -dir=/data/seaweedfs/volume -ip=xxx.xxx.xxx.xxx -max=0 +weed volume -mserver=ip1:9333,ip2:9333,ip3:9333 -dataCenter=dc1 -rack=rack1 -dir=/data/seaweedfs/volume -ip=xxx.xxx.xxx.xxx -max=0 ``` * **For machine with multiple disks** Configure the `-dir` to be comma separated directory list, and set `-max` for corresponding directories, assuming the `/data/seaweedfs/volume[x]` are on different disks. ``` -weed volume -master=ip1:9333,ip2:9333,ip3:9333 -dataCenter=dc1 -rack=rack1 -ip=xxx.xxx.xxx.xxx -dir=/data/seaweedfs/volume1,/data/seaweedfs/volume2,/data/seaweedfs/volume3 -max=0,0,0 +weed volume -mserver=ip1:9333,ip2:9333,ip3:9333 -dataCenter=dc1 -rack=rack1 -ip=xxx.xxx.xxx.xxx -dir=/data/seaweedfs/volume1,/data/seaweedfs/volume2,/data/seaweedfs/volume3 -max=0,0,0 ``` Do not use multiple directories on the same disk. The automatic volume count limit will double count the capacity.