From b7536570f89b90865beea2052850ecff9cd6ce83 Mon Sep 17 00:00:00 2001 From: poornas Date: Wed, 21 Feb 2018 19:45:19 -0800 Subject: [PATCH] update docs for NAS gateway (#5569) --- docs/shared-backend/DESIGN.md | 12 ++++++------ docs/shared-backend/README.md | 6 +++--- docs/zh_CN/shared-backend/README.md | 6 +++--- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/docs/shared-backend/DESIGN.md b/docs/shared-backend/DESIGN.md index e806cdb13..fe2f3218d 100644 --- a/docs/shared-backend/DESIGN.md +++ b/docs/shared-backend/DESIGN.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 diff --git a/docs/shared-backend/README.md b/docs/shared-backend/README.md index af3f8c5d2..ef2bf2d7d 100644 --- a/docs/shared-backend/README.md +++ b/docs/shared-backend/README.md @@ -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= export MINIO_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 diff --git a/docs/zh_CN/shared-backend/README.md b/docs/zh_CN/shared-backend/README.md index 81eb95c16..463cfe631 100644 --- a/docs/zh_CN/shared-backend/README.md +++ b/docs/zh_CN/shared-backend/README.md @@ -35,7 +35,7 @@ Minio共享模式是为了解决在真实场景中存在的一些问题,而且 ```sh export MINIO_ACCESS_KEY= export MINIO_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. 验证