Monthly Archives: September 2015

NetApp CIFS shares not mounting to Windows Server 2012

The Scenario:

I have created a NetApp CIFS share that needs to be accessible on Server 2003, 2008R2 and 2012R2 servers.

The Problem:

The NetApp CIFS share connects fine on a Windows Server 2003 or 2008 machine, but when I tried on a Server 2012 R2 it wouldn’t connect and I’d get the following error:

CIFS_share

The Solution:

The NetApp Filer had digital signing set to off, whereas Windows Server 2012 requires it by default. This mismatch causes the share failure. I was unable to enable digital signing on the NetApp due to the potential performance degradation it would have caused so the other option was to disable the digital signing requirement on Windows.

In an elevated PowerShell terminal type:

Set-ItemProperty -Path “HKLM:\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters” RequireSecureNegotiate -Value 0 -Force

No reboot is required.

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

Advertisements

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