Site Navigation
What's This All About?
Linux Server Setup
   Initial LDAP Setup
   NFS Setup
   SAMBA Setup
   Additional LDAP Setup
Linux Client Setup
   LDAP Setup
   NFS Setup
Mac OS X Client Setup
   LDAP Setup
   NFS Setup
Windows 2000 Client/Domain Setup
Adding Users and Final Use

Linux NFS Mounts

The instructions below will show how to set up the NFS mount on the Linux clients. They do not use the fstab files, although you can do so. Instead they use an automounter which will mount the file system when needed form the server, and un-mount it when it is not needed. This is a MUCH better way of doing it then using the fstab files.
  • Install the Debian am-util package using dselect or any other methold you choose.

    • Do NOT use the nis package as suggested by Debian

    • Do use the net map package

    • Do NOT use the the passwd map.

    • Edit /etc/am-utils/amd.conf. Set:

    • Code:

      nfs_proto = udp


    • Code:

      nfs_version = 2

    • restart the nfs package:

    • Code:

      /etc/init.d/am-utils restart

    • Create mount point as a link to /net/host/remote/dir

    • Create a new directory you want to have the nfs mount, like /share.

    • Code:

      mkdir /share

  • Create a symbolic link from the server to the share point. This should be done as shown below, except for you should replace the host.domain.com section with the domain name of your nfs server. What this does is create a symbolic link from the /share/home folder of the server found at host.domain.com, to the local machines /share/home folder.

  • Code:

    ln -s /net/host.domain.com/share/home /share/home


• Here is a link to the am-util manual

• Here is a sample /etc/am-util/amd.conf file.

This should be all that you need to do to have the NFS mount point on your Linux client. Here are some steps to test it.

  1. On the server, place a file in the share point.
  2. On the client, do a listing of the mount point. You should see the file there.
  3. On the client, read teh contents of the remote file.
  4. On the client, create a file in the mount point.
  5. On the server read the file created by the client.

If all of these steps worked, then your NFS mounts should be set up and working correctly.