-
Notifications
You must be signed in to change notification settings - Fork 992
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
doc: delete the incorrect description of the jfs protocol header
Signed-off-by: zhijian <[email protected]>
- Loading branch information
1 parent
f2b1eea
commit d23781b
Showing
2 changed files
with
0 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -147,12 +147,6 @@ For data migrations that involve JuiceFS, it's recommended use the `jfs://` prot | |
myfs=redis://10.10.0.8:6379/1 juicefs sync s3://ABCDEFG:[email protected]/movies/ jfs://myfs/movies/ | ||
``` | ||
|
||
When using the `jfs://` protocol, you can pass mounting parameters from `juicefs mount` to improve transfer performance, such as `--max-downloads`, `--max-uploads`, and `--buffer-size`, for example, when copying large files with abundant bandwidth, increase buffer size to raise performance: | ||
|
||
```shell | ||
myfs=redis://10.10.0.8:6379/1 juicefs sync s3://ABCDEFG:[email protected]/movies/ jfs://myfs/movies/ --buffer-size=1024 | ||
``` | ||
|
||
### Synchronize between object storage and JuiceFS {#synchronize-between-object-storage-and-juicefs} | ||
|
||
The following command synchronizes `movies` directory from object storage to JuiceFS. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -145,12 +145,6 @@ juicefs sync --match-full-path --include='*' --exclude='**/tmpdir/**' s3://xxx/ | |
myfs=redis://10.10.0.8:6379/1 juicefs sync s3://ABCDEFG:[email protected]/movies/ jfs://myfs/movies/ | ||
``` | ||
|
||
当使用 `jfs://` 协议头时,可以传入 `juicefs mount` 的挂载参数来帮助提升传输性能,比如 `--max-downloads`, `--max-uploads`, `--buffer-size` 等,比方说在带宽充裕的情况下拷贝大文件,可以启用更大的读写缓冲区来提升性能: | ||
|
||
```shell | ||
myfs=redis://10.10.0.8:6379/1 juicefs sync s3://ABCDEFG:[email protected]/movies/ jfs://myfs/movies/ --buffer-size=1024 | ||
``` | ||
|
||
### 对象存储与 JuiceFS 之间同步 {#synchronize-between-object-storage-and-juicefs} | ||
|
||
将对象存储的 `movies` 目录同步到 JuiceFS 文件系统: | ||
|