mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
fix wiki
parent
3d3c6c4008
commit
af7c0277ff
|
@ -12,7 +12,7 @@ In `weed shell`, checkout `remote.cache` and `remote.uncache`:
|
|||
remote.cache # cache the file content for mounted directories or files
|
||||
|
||||
# assume a remote storage is configured to name "s3_1"
|
||||
remote.configure -name=s3_1 -type=s3 -access_key=xxx -secret_key=yyy
|
||||
remote.configure -name=s3_1 -type=s3 -s3.access_key=xxx -s3.secret_key=yyy
|
||||
# mount and pull one bucket
|
||||
remote.mount -dir=xxx -remote=s3_1/bucket
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@ There are no directory or file format changes to existing data on the cloud. So
|
|||
The remote storage, e.g., AWS S3, can be [[configured|Configure Remote Storage]] and [[mounted|Mount Remote Storage]] directly to an empty folder in SeaweedFS.
|
||||
```
|
||||
# in "weed shell"
|
||||
> remote.configure -name=cloud1 -type=s3 -access_key=xyz -secret_key=yyy
|
||||
> remote.configure -name=cloud1 -type=s3 -s3.access_key=xyz -s3.secret_key=yyy
|
||||
> remote.mount -dir=/path/to/xxx -remote=cloud1/bucket
|
||||
```
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ Usage of remote.mount:
|
|||
remote.mount # mount remote storage and pull its metadata
|
||||
|
||||
# assume a remote storage is configured to name "s3_1"
|
||||
remote.configure -name=cloud1 -type=s3 -access_key=xyz -secret_key=yyy
|
||||
remote.configure -name=cloud1 -type=s3 -s3.access_key=xyz -s3.secret_key=yyy
|
||||
|
||||
# mount and pull one bucket
|
||||
remote.mount -dir=/xxx -remote=cloud1/bucket
|
||||
|
|
Loading…
Reference in a new issue