NFS Mount Error: mount.nfs: mount system call failed

The Scenario:

I have created a NFS share on my Windows Server 2012 R2 file server. I want to mount this to a Ubuntu 12.04 server in the same domain and subnet.

The Problem:

The command mount -t nfs fileservername:/nfssharename /mountpoint_name produces the error “mount.nfs: mount system call failed”. However the same command on a Ubuntu 14 or Debian 8 server works fine

The Solution:

The Server for NFS role installed on the Windows file server uses NFS version 4 by default (To see how to check your environment click here) . Older versions of Ubuntu use either NFS version 2 or 3. Whilst Windows Server 2012 R2 is also capable of using these earlier NFS versions there is no auto-negotiation between the two servers to use a common version, Windows will only ever use the highest version enabled. The mount option must specifically state the version, in this case NFS version 3. So the command that worked included the option -o nfsvers=3:

mount -t nfs -o nfsvers=3 fileservername:/nfssharename /mountpoint_name

Disclaimer: provided “AS IS” with no warranties and confer no rights


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s