Guides · Pier

How to mount an NFS share on Windows

NFS is the native file-sharing protocol of Linux servers and most NAS boxes. Windows can talk to it, but the built-in client is an optional feature with rough edges. Here are both routes to a drive letter.

Updated

Option 1. The Windows Client for NFS

Windows includes an optional feature, Services for NFS → Client for NFS. Turn it on in Windows Features, then mount from a command prompt:

mount -o anon \\nas.example.com\volume1\data N:

Things to know before you choose it:

Option 2. Pier's built-in NFSv3 client

Pier contains its own NFSv3 client, so the Windows NFS feature is not needed and the Windows edition does not matter. The UID and GID are set per drive, in the drive's settings, without touching the registry.

  1. Download and run the Pier installer.
  2. Open Pier from the tray icon, press Add and choose NFS.
  3. Enter the server and the export path, for example nas.example.com and /volume1/data.
  4. Set the UID and GID the drive should act as — the numeric ids of your user on the server (id prints them on Linux).
  5. Press Check to test access, pick a drive letter and press OK.

Prepare the export on the server

The server must allow your Windows machine's address. On a Linux server that is a line in /etc/exports:

/srv/data  192.168.1.0/24(rw,sync,no_subtree_check)

Apply it with exportfs -ra. On a NAS the same settings are in the shared folder's NFS permissions: the allowed client address or subnet and read/write access. Pier speaks NFSv3, so make sure version 3 is enabled — some NAS models ship with only NFSv4 switched on.

Side by side

Windows Client for NFSPier
Windows HomeNot availableWorks
UID / GIDOne anonymous identity, set in the registryPer drive, in the settings window
Visible to all users and after rebootNeeds a logon scriptMounted by a service
Local cacheNoBlock cache
Offline workNoOffline mode
Protocol versionNFSv2 / NFSv3NFSv3

A word on security

NFSv3 trusts the client's address and the UID it claims; the traffic is not encrypted. Use it on a trusted LAN or inside a VPN. To reach a server across the internet, mount it over SFTP instead — the same server usually has SSH, and Pier maps that to a drive letter just the same.

Pier

Pier mounts WebDAV (Nextcloud, ownCloud), SFTP and NFSv3 storage as a real Windows drive letter with a local block cache, resumable transfers and an offline mode. Free for up to 5 drives.

Frequently asked questions

Does Pier support NFSv4?

Not at present — the built-in client speaks NFSv3. Almost every Linux server and NAS can serve version 3 alongside version 4.

Why do I get “access denied” on write?

The export is read-only for your address, or the UID the drive uses has no write permission on the directory. Check the export options and compare the UID/GID in the drive settings with the owner of the folder on the server.

Is the NFS client part of the free edition?

Yes. All three protocols — WebDAV, SFTP and NFS — are in the Free edition, for up to 5 drives.

Related guides