mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
improve comments around example volume growing operations
parent
cd103d47d7
commit
88f8cec797
4
FAQ.md
4
FAQ.md
|
@ -28,9 +28,11 @@ SeaweedFS also assumes there is a default disk type, which is either empty or `"
|
||||||
To pre-allocate volumes, send a request to the Master server. For example:
|
To pre-allocate volumes, send a request to the Master server. For example:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
# To replica
|
# To create more volumes in a given data center
|
||||||
curl "http://localhost:9333/vol/grow?dataCenter=000&count=4" # returns {"count":4}
|
curl "http://localhost:9333/vol/grow?dataCenter=000&count=4" # returns {"count":4}
|
||||||
|
# To create more volumes on a given rack
|
||||||
curl "http://localhost:9333/vol/grow?rack=example-rack&count=4" # returns {"count":4}
|
curl "http://localhost:9333/vol/grow?rack=example-rack&count=4" # returns {"count":4}
|
||||||
|
# To create more volumes on a given volume server
|
||||||
curl "http://localhost:9333/vol/grow?dataNode=example-node&count=4" # returns {"count":4}
|
curl "http://localhost:9333/vol/grow?dataNode=example-node&count=4" # returns {"count":4}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue