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

Brian Candler 2021-03-24 17:56:26 +00:00
parent 85f7919c06
commit 6538d83a3b

@ -19,7 +19,10 @@ There are 2 ways to fix this.
> 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