Skip to content

Commit

Permalink
doc: delete the incorrect description of the jfs protocol header
Browse files Browse the repository at this point in the history
Signed-off-by: zhijian <[email protected]>
  • Loading branch information
zhijian-pro committed Dec 24, 2024
1 parent f2b1eea commit d23781b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
6 changes: 0 additions & 6 deletions docs/en/guide/sync.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
6 changes: 0 additions & 6 deletions docs/zh_cn/guide/sync.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 文件系统:
Expand Down

0 comments on commit d23781b

Please sign in to comment.