2.)在 ECS 端設定 NFS 共用。請參閱《ECS 管理員指南》,可從 https://support.emc.com/products/37254_ECS-Appliance-/Documentation/ 下載。
3.)為匿名使用者啟用寫入權限:
根據預設選項,使用者透過匿名使用者掛接 ECS NFS 共用時,具有讀取權限。我們可以變更用於掛接共用的 UID 和 GID,為匿名使用者提供寫入權限。
若要變更 UID 和 GID,我們必須執行下列步驟,稍微變更 Windows 登錄檔:
4.)在 Windows CMD 行上掛接 NFS 共用:
C:\Users\bob>mount -o "nolock,sec=sys" x.x.x.x:/test-nfs-ns/test-nfs-bucket y: Note: x.x.x.x = Public IP of ECS node or load balancer. 5.) Please be noted that each time when you Windows restarts, you need to re-mount the NFS share by default. There are different workarounds available but this is not ECS related by nature. One example below: https://social.technet.microsoft.com/Forums/windowsserver/en-US/44445dc3-0185-407f-b8ad-711f22cd4ec6/windows-nfs-client-reconnect-to-nfs-target-on-reboot?forum=winserverfiles