update docs for NAS gateway (#5569)

master
poornas 7 years ago committed by Nitish Tiwari
parent e09d97abaf
commit b7536570f8
  1. 12
      docs/shared-backend/DESIGN.md
  2. 6
      docs/shared-backend/README.md
  3. 6
      docs/zh_CN/shared-backend/README.md

@ -25,12 +25,12 @@ Example 1: Start Minio instance on a shared backend mounted and available at `/p
On linux server1
```shell
minio server /path/to/nfs-volume
minio gateway nas /path/to/nfs-volume
```
On linux server2
```shell
minio server /path/to/nfs-volume
minio gateway nas /path/to/nfs-volume
```
### Windows 2012 Server
@ -39,24 +39,24 @@ Example 1: Start Minio instance on a shared backend mounted and available at `\\
On windows server1
```cmd
minio.exe server \\remote-server\cifs\data
minio.exe gateway nas \\remote-server\cifs\data
```
On windows server2
```cmd
minio.exe server \\remote-server\cifs\data
minio.exe gateway nas \\remote-server\cifs\data
```
Alternatively if `\\remote-server\cifs` is mounted as `D:\` drive.
On windows server1
```cmd
minio.exe server D:\data
minio.exe gateway nas D:\data
```
On windows server2
```cmd
minio.exe server D:\data
minio.exe gateway nas D:\data
```
Architecture

@ -36,7 +36,7 @@ You'll need the path to the shared volume, e.g. `/path/to/nfs-volume`. Then run
```sh
export MINIO_ACCESS_KEY=<ACCESS_KEY>
export MINIO_SECRET_KEY=<SECRET_KEY>
minio server /path/to/nfs-volume
minio gateway nas /path/to/nfs-volume
```
#### Minio shared mode on Windows 2012 Server
@ -46,7 +46,7 @@ You'll need the path to the shared volume, e.g. `\\remote-server\smb`. Then run
```cmd
set MINIO_ACCESS_KEY=my-username
set MINIO_SECRET_KEY=my-password
minio.exe server \\remote-server\smb\export
minio.exe gateway nas \\remote-server\smb\export
```
*Windows Tip*
@ -57,7 +57,7 @@ If a remote volume, e.g. `\\remote-server\smb` is mounted as a drive, e.g. `M:\`
set MINIO_ACCESS_KEY=my-username
set MINIO_SECRET_KEY=my-password
net use m: \\remote-server\smb\export /P:Yes
minio.exe server M:\export
minio.exe gateway nas M:\export
```
## 3. Test your setup

@ -35,7 +35,7 @@ Minio共享模式是为了解决在真实场景中存在的一些问题,而且
```sh
export MINIO_ACCESS_KEY=<ACCESS_KEY>
export MINIO_SECRET_KEY=<SECRET_KEY>
minio server /path/to/nfs-volume
minio gateway nas /path/to/nfs-volume
```
#### Minio shared mode on Windows 2012 Server
@ -45,7 +45,7 @@ minio server /path/to/nfs-volume
```cmd
set MINIO_ACCESS_KEY=my-username
set MINIO_SECRET_KEY=my-password
minio.exe server \\remote-server\smb\export
minio.exe gateway nas \\remote-server\smb\export
```
*Windows提示*
@ -56,7 +56,7 @@ minio.exe server \\remote-server\smb\export
set MINIO_ACCESS_KEY=my-username
set MINIO_SECRET_KEY=my-password
net use m: \\remote-server\smb\export /P:Yes
minio.exe server M:\export
minio.exe gateway nas M:\export
```
## 3. 验证

Loading…
Cancel
Save