mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
fix empty lines and syntax highlighting
parent
b731845d53
commit
47e235c615
|
@ -15,16 +15,16 @@ From version 3.51 name of collection is `filerGroup_bucketname` or `bucketname`
|
|||
Each bucket has its own collection. Usually one collection uses 7 volumes, where each volume is 30GB by default. So if you want to create multiple buckets, you may run out of volumes very quickly unless you have a large disk.
|
||||
|
||||
Try to keep the volume size low. For example,
|
||||
```
|
||||
```bash
|
||||
weed master -volumeSizeLimitMB=1024
|
||||
```
|
||||
|
||||
In addition, you can also configure the per bucket storage this way in `weed shell`:
|
||||
```
|
||||
```bash
|
||||
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, so that it is a multiple of the number of replicas:
|
||||
```
|
||||
```bash
|
||||
fs.configure -locationPrefix=/buckets/ -replication=001 -volumeGrowthCount=2 -apply
|
||||
```
|
||||
|
||||
|
@ -71,11 +71,11 @@ Not included:
|
|||
* Policy
|
||||
|
||||
# Feature difference
|
||||
| | SeaweedFS | Amazon S3 |
|
||||
| ---------------------------- | --- | -- |
|
||||
| Multi byte ranges reads | Yes | No |
|
||||
| DeleteObject deletes a folder| Yes | No |
|
||||
| same path for both a file and a folder| No | Yes |
|
||||
| Feature | SeaweedFS | Amazon S3 |
|
||||
| -------------------------------------- | --------- | --------- |
|
||||
| Multi byte ranges reads | Yes | No |
|
||||
| DeleteObject deletes a folder | Yes | No |
|
||||
| same path for both a file and a folder | No | Yes |
|
||||
|
||||
## Empty folders
|
||||
|
||||
|
@ -141,7 +141,7 @@ You can create as many users as needed. Each user can have multiple credentials.
|
|||
|
||||
For public access, you can configure an identity with name "anonymous", usually with just "Read" action, or access to specific buckets.
|
||||
|
||||
```
|
||||
```json
|
||||
{
|
||||
"identities": [
|
||||
{
|
||||
|
@ -225,7 +225,6 @@ Read:bucket
|
|||
Read:bucket_prefix*
|
||||
Read:bucket/*
|
||||
Read:bucket/a/b/*
|
||||
|
||||
```
|
||||
|
||||
## Presigned URL
|
||||
|
@ -239,10 +238,8 @@ If you need to setup multiple S3 nodes, you can just start multiple s3 instances
|
|||
|
||||
Usually you would also want to have multiple filers. The easiest way is to run filer together with a S3.
|
||||
|
||||
```
|
||||
|
||||
weed filer -s3
|
||||
|
||||
```bash
|
||||
weed filer -s3
|
||||
```
|
||||
|
||||
# Authentication with Filer
|
||||
|
|
Loading…
Reference in a new issue