Mounting NFS Shares in MS Windows

From Open-E Wiki
Jump to navigation Jump to search
This article describes how to set up an MS Windows desktop machine to support the Network File System (NFS) shares and how to connect to those shares. The presented method allows maintaining a connection to NFS shares when the pool moves. Recommended for cluster configuration.

Make sure that Services for NFS are enabled on your computer.

  1. Go to Control Panel > Programs > Programs and Features.
  2. Enable the "Turn Windows features on or off" option. You can find it in the menu on the left side.
  3. Go to the "Services for NFS" option.
  4. Enable the "Services for NFS" and both subfeatures.
  5. Reboot the computer to apply changes.


WinFeatures.png
WinFeatures.png


Use the following command-line syntax in the "Command prompt" window to mount the NFS share:
  • Replace the "server.name.or.IP" with the server's name where the NFS share is on or with its IP.
  • Replace the "share_name" with the name of the NFS share (for example, "test_share")
  • Replace the "X" with the desired drive letter.
mount -o anon mtype=hard timeout=30 \\server.name.or.IP\share_name X:
An example of a correct command:
mount -o anon mtype=hard timeout=30 \\192.168.188.3\test_share F:

After the command is executed, the following confirmation is displayed:

Command prompt mount nfs share.PNG
Command prompt mount nfs share.PNG


The mounted NFS share is displayed in the "Network locations" section of the computer. 

The mounted share in the PC view.png
The mounted share in the PC view.png