echothrust/howtos

A list of OpenBSD (mostly) material

View on GitHub

NFS Client for Windows

Author: Leontis Martopoulos\ Created: 2006/07/30 20:54

Introduction

There are a number of Commercial NFS clients on Windows, but for cost/licensing issues I have decided to proceed with the SFU 3.5 from Microsoft.

Besides being free, it has the advantage of being part of Windows and not a third party application, therefore integration with the system is better.

The only drawback is that the download size is around ~250 MB. Included in the SFU though are a great number of UNIX tools that can also help in future tasks that have to do with Windows/Unix integration.

Installing SFU

The following are the steps required for the Setup of a NFS client on Windows in order to access and map NFS shares from Unix servers in Windows clients:

Configuring

Preparing the Server OpenBSD

See OpenBSD NFS Howto.

Preparing the Server Linux

Setup the NFS server on the UNIX server. NFS v3 is required for SFU 3.5, although Microsoft claims that NFS v2 is also supported, there are problems with it.

Make sure the NFS is running.

Run the rpcinfo -p command and make sure you see a list containing at least portmapper, nfs and mountd.

Edit the /etc/exports file and put the directories that you want to share in the following format:

/directory_to_be_shared NFS_client_IP(options)

Example:

/var/log        192.168.1.2(rw,async,no_root_squash)

Save the file and run exportfs -avr. Remember to run this command every time you edit the exports file.

Restart the NFS daemons, there are some cases where that might not work and you will have to restart the system.

Mounting

In order to mount a remote NFS export follow the steps:

After that you will be able to see the NFS shared folder as a drive in My Computer.