Note that -volumeGrowthCount must be a multiple of the replication factor

Brian Candler 2021-03-24 17:55:12 +00:00
parent 87bf3ba724
commit 85f7919c06

@ -21,7 +21,10 @@ In addition, you can also configure the per bucket storage this way in `weed she
``` ```
fs.configure -locationPrefix=/buckets/ -volumeGrowthCount=1 -apply fs.configure -locationPrefix=/buckets/ -volumeGrowthCount=1 -apply
``` ```
This will add 1 physical volume when existing volumes are full. If using replication, you will need to add more volumes. This will add 1 physical volume when existing volumes are full. If using replication, you will need to add more volumes, so that it is a multiple of the number of replicas:
```
fs.configure -locationPrefix=/buckets/ -replication=001 -volumeGrowthCount=2 -apply
```
See https://github.com/chrislusf/seaweedfs/wiki/Path-Specific-Configuration See https://github.com/chrislusf/seaweedfs/wiki/Path-Specific-Configuration