From 85f7919c06b801865b4a5352a65da2c2197d211b Mon Sep 17 00:00:00 2001 From: Brian Candler Date: Wed, 24 Mar 2021 17:55:12 +0000 Subject: [PATCH] Note that -volumeGrowthCount must be a multiple of the replication factor --- Amazon-S3-API.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Amazon-S3-API.md b/Amazon-S3-API.md index ebf05c9..7b4da2c 100644 --- a/Amazon-S3-API.md +++ b/Amazon-S3-API.md @@ -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 ``` -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