2.)在 ECS 端,配置 NFS 共享。在 https://support.emc.com/products/37254_ECS-Appliance-/Documentation/ 中查看 ECS 管理指南,了解可下载的内容。
3.)为匿名用户启用写入权限:
如使用默认选项,在使用匿名用户装载 ECS NFS 共享时,用户具有读取权限。通过更改匿名用户用于装载共享的 UID 和 GID,我们可以为匿名用户提供写入权限。
要更改 UID 和 GID,我们必须通过执行以下步骤对 Windows 注册表进行简单的更改:
4.)在 Windows 命令行中装载 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