mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Fix volume server argument names (additional fixes)
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:
|
||||
```
|
||||
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.
|
||||
|
||||
|
|
Loading…
Reference in a new issue