未验证 提交 0cfb6159 编写于 作者: H Herald Yu 提交者: GitHub

Docs: Add the English version description for local storage (#442)

* Docs: Replace juicefs architecture picture

* Docs: Add the English version description for local storage

* Docs: replace pictures with the High resolution version
上级 c6058bed
......@@ -586,4 +586,16 @@ Writing ...
## Local disk <span id='local'></span>
Writing ...
\ No newline at end of file
When creating JuiceFS storage, if no storage type is specified, the local disk will be used to store data by default. The default storage path for root user is `/var/jfs`, and `~/.juicefs/local` is for ordinary users.
For example, using the local Redis database and local disk to create a JuiceFS storage named `test`:
```shell
$ ./juicefs format redis://localhost:6379/1 test
```
Local storage is only used to understand and experience the basic functions of JuiceFS. The created JuiceFS storage cannot be mounted by other clients in the network and can only be used on a stand-alone machine.
If you need to evaluate JuiceFS, it is recommended to use object storage services.
> **Note**: JuiceFS storage created using local storage cannot be mounted by other hosts on the network. This is because the data sharing function of JuiceFS relies on the object storage and metadata service that can be accessed by all clients. If the storage service and metadata service used when creating JuiceFS storage cannot be accessed by other clients in the network, other clients cannot mount and use the JuiceFS storage.
\ No newline at end of file
......@@ -90,6 +90,8 @@ After executing the command, you will see output similar to the following, indic
> **Note**: You can create as many JuiceFS file systems as you need. But it should be noted that only one file system can be created in each Redis database. For example, when you want to create another file system named `memory`, you have to use another database in Redis, such as No.2, which is `redis://127.0.0.1:6379/2`.
> **Note**: If you don't specify `--storage` option, the JuiceFS client will use the local disk as data storage. When using local storage, JuiceFS can only be used on a local stand-alone machine and cannot be mounted by other clients in the network. [Click here](how_to_setup_object_storage.md#local) for details.
## 5. Mount JuiceFS file system
After the JuiceFS file system is created, you can mount it on the operating system and use it. The following command mounts the `pics` file system to the `/mnt/jfs` directory.
......
docs/images/juicefs-arch-new.png

157.6 KB | W: | H:

docs/images/juicefs-arch-new.png

157.6 KB | W: | H:

docs/images/juicefs-arch-new.png
docs/images/juicefs-arch-new.png
docs/images/juicefs-arch-new.png
docs/images/juicefs-arch-new.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -46,8 +46,6 @@ $ sudo docker run -d --name minio \
> **注意**:以上命令将 MinIO 对象存储的数据路径映射到了当前目录下的 `minio-data` 文件夹中,你可以按需修改数据持久化存储的位置。
> **注意**:在不指定任何存储参数的情况下,JuiceFS 客户端会使用本地磁盘作为数据存储。使用本地存储时,JuiceFS 只能在本地单机使用,无法被网络内其他客户端挂载,[点此](how_to_setup_object_storage.md#local)查看详情。
## 三、安装 JuiceFS 客户端
JuiceFS 同时支持 Linux、Windows、macOS 三大操作系统平台,你可以在 [这里下载](https://github.com/juicedata/juicefs/releases/latest) 最新的预编译的二进制程序,请根据实际使用的系统和架构选择对应的版本。
......@@ -96,6 +94,8 @@ $ juicefs format \
> **注意**:你可以根据需要,创建无限多个 JuiceFS 文件系统。但需要注意的是,每个 Redis 数据库中只能创建一个文件系统。比如要再创建一个名为 `memory` 的文件系统时,可以使用 Redis 中的 2 号数据库,即 `redis://127.0.0.1:6379/2` 。
> **注意**:如果不指定 `--storage` 选项,JuiceFS 客户端会使用本地磁盘作为数据存储。使用本地存储时,JuiceFS 只能在本地单机使用,无法被网络内其他客户端挂载,[点此](how_to_setup_object_storage.md#local)查看详情。
## 五、挂载 JuiceFS 文件系统
JuiceFS 文件系统创建完成以后,接下来就可以把它挂载到操作系统上使用了。以下命令将 `pics` 文件系统挂载到 `/mnt/jfs` 目录中。
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册