Tuesday, February 4, 2014

Access NFS share on Windows Server 2012 or Windows Server 2012 R2

To connect NFS shares on Windows Server 2012 or Windows Server 2012 R2, administrators can install "Client for NFS" on these operating systems and then perform "mount" command to connect it. After that, administrators also can install "Services for Network File System" to manage "Client Settings", "File Permissions" and "Security" of "Client for NFS".

Goal
  • Install "Client for NFS" by GUI and "PowerShell"
  • Install "Services for Network File Systemby GUI and "PowerShell"

Prerequisites
  • 1 server is installed Windows Server 2012 or Windows Server 2012 R2 and named MS01

Lab
1. On MS01, log in as Local Administrator.
2. Launch "Server Manager".
3. Click "Add roles and features".


4. On "Before You Begin" window, click "Next".
5. On "Installation Type" window, select "Role-based or feature-based installation".


6. Click "Next".
7. On "Server Selection" window, click "Next" twice.
8. On "Features" window, check "Client for NFS".


By default, the "Services for Network File System" management console isn't installed with "Client for NFS". Administrators need to check it by themselves.

9. Check "Services for Network File System Management Tools" under "Remote Server Administration Tools > Role Administration Tools > File Services Tools".


10. Click "Next".
11. On "Confirmation" window, click "Install".
12. On "Results" window, click "Close".


As a result, "Client for Network File System" and "Client for NFS" have been installed.


Now, administrators can manage the settings of "Client of NFS".




Administrators can perform "mount" command to connect the NFS share.


Administrators also can perform "Install-WindowsFeature NFS-Client, RSAT-NFS-Admin" in PowerShell console to install "Client for NFS" and "Client for Network File System".


More information:

This posting is provided “AS IS” with no warranties, and confers no rights!

4 comments:

  1. Hi Terry and All,

    I have 2012 R2 Window server, and try to make it as NFS client mounting filesystem from Solaris 10 system.
    I check on the command mount.exe under C:\Windows\WinSxS\amd64_microsoft-windows-nfs-clientcmdtools_31bf3856ad364e35_6.3.9600.16384_none_4221c32dc469340a, I jut test run it, and got the message this mount command " is not compatible with the version of windows that you're running".
    Does anyone know the service pack or patch from Microsoft that I can download? I search for hours and could not dinf any. Thanks.

    ReplyDelete
    Replies
    1. Hi,
      Why don't use install "Client for NFS" on the computer which will be performed "mount" command?

      Regards,
      Terry

      Delete
    2. Terry, Thanks !!!
      After i installed the NFS Client on MS Server 2012 as eval license, I was able to mount the drive/filesystem from Solaris 10, as well as mapping it as network drive as anonymous.
      After I register with MS key, NFS mount does not work and give "Network Error 53", which it's "The Network Name cannot be found", and could not map as network drive either. But able to ping the Solaris 10 server.
      Reboot or reinstall NFS Client does not work either. I also add the IP & full qualify hostname in C\windows\system32\etc\drivers\hosts, and It does not work either.
      Do I miss something? Can you help? Thanks.

      The' Tran

      Delete
    3. Hi
      Is there any firewall between the windows server 2012 and Solaris 10 server?

      Have you tried to use telnet client to connect to the NFS share of Solaris from the Windows Server 2012 or other workstations for troubleshooting?

      Regards,
      Terry

      Delete