Last night I discovered that windows 10 only offers nfs with pro and enterprise versions. This tossed a wrench in my plans. I really don't want to use samba, so this leaves me two options: Get the wife on Linux (unlikely), or get a 3rd party nfs client. Windows 10 Pro or higher; NFS server accessible on your local network; Disclaimers: Not guaranteed to work on a system with multiple active users or a NFS server without a static IP. Install the NFS Client. Go to Control Panel Programs and Features Turn Windows Features on or off; Enable “Services for NFS” with both subcategories.
Mounting an NFS (Network File System) share using a Unix-like operating system is pretty straight forward. But how do you mount an NFS share of a UNIX system from a Windows 10 machine? Keep reading to find out how.
Update 2012-04-20 – These instructions should now work on Windows 10 Pro (Version 10.0.14393 and above) as mentioned by EyeDocGeek in the comments.
This tutorial only applies to the enterprise version of Windows 10 because it is the only version which includes the Services for NFS feature. If you don’t have the enterprise version of Windows, then you might be better off exposing your share using Samba which should work on all versions of Windows.
With that said let’s install the Services for NFS feature and mount an NFS share.
The first thing we need to do is install the NFS Client which can be done by following the steps below:
Step 1: Open Programs and Features.
Step 2: Click Turn Windows features on or off.
Step 3: Scroll down and check the option Services for NFS, then click OK.
Step 4: Once installed, click Close and exit back to the desktop.
With the default options you will only have read permissions when mounting a UNIX 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.
The image below shows the a share mounted using the default settings.
To change the UID and GID we need to make a simple change to the Windows registry by performing the following steps:
The output of the mount command should now look like this:
Notice the 0 value applied to the UID and GID. This means the share is mounted using the root user.
Assuming your NAS device is on the same network as your Windows machine and the IP address of the device is 10.1.1.211, the following command will mount a share on the NFS system at /mnt/vms.
The share is now mounted and we can access the data by navigating to the Z: drive.
That’s it, we can now write to the NAS device. Although, I did notice that trying to open the share for the first time takes a long time.
Share this post:
Get notified when new posts are published to the blog by subscribing to the email list.
Join the listTags: Storage.