Fix volume server argument names (additional fixes)

Sergio Rubio 2020-06-27 18:37:30 +02:00
parent 5eef837e5f
commit adf4399ecb

@ -67,14 +67,14 @@ Adding volume servers is easy. Actually this is much easier than most other syst
Run this to setup: 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** * **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. 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. Do not use multiple directories on the same disk. The automatic volume count limit will double count the capacity.