ECS: How to mount NFS share on Windows client

摘要: How to mount NFS share on Windows client.

本文适用于 本文不适用于 本文并非针对某种特定的产品。 本文并非包含所有产品版本。

说明

Steps below are showing how to mount an NFS share on Windows client.

1.) Install the NFS Client (Services for NFS) what can be enabled from Windows Control Panel:
  • Open Control Panel and search for "Turn Windows features on or off"
  • Check the option "Services for NFS," then click OK.

2.) On the ECS side, configure the NFS share. See the ECS Administration Guide for what can be downloaded from https://support.emc.com/products/37254_ECS-Appliance-/Documentation/.

3.) Enable Write Permissions for the Anonymous User:
With the default options, a user has read permissions when mounting an ECS NFS share using the anonymous user. We can give the anonymous user write permissions by changing the UID and GID that it uses to mount the share.


To change the UID and GID we must make a simple change to the Windows registry by performing the following steps:

  • Open regedit by typing it in the search box end pressing Enter.
  • Browse to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ClientForNFS\CurrentVersion\Default.
  • Create a new New DWORD (32-bit) Value inside the Default folder named AnonymousUid and assign the UID 0 (or another UID/GID if configured in ECS).
  • Create a new New DWORD (32-bit) Value inside the Default folder named AnonymousGid and assign the GID 0 (or another UID/GID if configured in ECS).
  • Restart the NFS client from Windows CMD line (nfsadmin client restart) or reboot the machine to apply the changes.
kA5f10000004F9xCAE_1_0

 

4.) Mount the NFS share on your windows CMD line:
# mount -o "nolock,sec=sys" x.x.x.x:/<Namespace name you used>/<Bucket name you used>  <Windows path>:
Example:
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

其他信息

受影响的产品

ECS Appliance

产品

ECS Appliance, Elastic Cloud Storage
文章属性
文章编号: 000019642
文章类型: How To
上次修改时间: 25 3月 2025
版本:  6
从其他戴尔用户那里查找问题的答案
支持服务
检查您的设备是否在支持服务涵盖的范围内。