How to configure NFS on Windows Server
  • 29 Sep 2022
  • 1 Minute to read
  • Dark
    Light

How to configure NFS on Windows Server

  • Dark
    Light

Article summary

The following guide shows how to configure your NFS volume on Windows Server. 

Servers Australia's NFS product is NFSv4
Windows only supports NFSv2, NFSv3.
Windows does not support NFSv4.
If you need a file-sharing solution for Windows we recommend using CephFS which is compatible with both Windows and Linux

Prerequisites

  • An NFSv2 or NFSv3 share to connect to.
  • Make sure that the IP address of the server you're connecting from is whitelisted in the NFS volume exports on the NFS server. 
  • Administrator logins to the Windows Server you'll be configuring.

Install the NFS Client

Method 1 - Using the GUI


Note
This method is much slower than the second method.
If you're comfortable using a Powershell terminal, we recommend using method 2 instead.


Connect to your Windows server via RDP or your preferred method.

In the server manager, click Manage then 'Add Roles and Features'.


Choose 'Role Based or Feature Based installation'

On the server selection page click next.

On the server roles page click next. 

Tick the 'Client for NFS' feature and then click Next.


Then click 'Install'.

Once complete you should see 'Installation Succeeded' and then you can continue to mounting the NFS volume.

Method 2 - Using Powershell

Simply type the following command into an administrator powershell terminal:

Install-WindowsFeature -Name NFS-Client

Once complete it will look like this:


Desktop Version Installation

If you're using a Desktop version of Windows, you can install using the following command, run in an Administrator powershell terminal:

Enable-WindowsOptionalFeature -FeatureName ServicesForNFS-ClientOnly, ClientForNFS-Infrastructure -Online -NoRestart

Connect to the NFS share

Once the NFS client is installed, you can connect to the NFS share by running the mount command in powershell.

Format: mount -o username \\ip.address.of.server\sharename drivename:

Example:

mount -o anon \\10.0.0.1\share Z:



Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.
ESC

Eddy AI, facilitating knowledge discovery through conversational intelligence