start here:
/etc/fstab
foohost:/export/data /mnt nfs tcp,rsize=8192,wsize=8192,intr,rw,bg,nosuid,noauto
This might be caused by the fact that the server really wants to have portnumbers below 1024 for the session. Adding insecure to the exports-file fixes that. Example:
/home somehost(rw,insecure)
Edit the /etc/exports file to allow NFS mounts of the /home directory with read/write access.
/home *(rw,sync,no_subtree_check)
The option listing for each machine will describe what kind of access that machine will have. Important options are:
Let NFS read and make /home available to the network with the exportfs command.
# exportfs -a
Make sure the required nfs, nfslock, and portmap daemons are running and configured to start after the next reboot.
# chkconfig nfslock on # chkconfig nfs on # chkconfig portmap on
# service portmap start # service nfslock start # service nfs start
Make sure the required netfs, nfslock, and portmap daemons are running and configured to start after the next reboot.
# chkconfig nfslock on # chkconfig netfs on # chkconfig portmap on
# service portmap start # service netfs start # service nfslock start
Now mount the NFS (server) /home to this client
# mount server:/home /home/
Configure autofs edit your /etc/auto.master file to refer to file /etc/auto.home for mounting information whenever the /home directory is accessed. After five minutes, autofs unmounts the directory.
# vi /etc/auto.master /home /etc/auto.home --timeout 600
Edit file /etc/auto.home to do the NFS mount whenever the /home directory is accessed.
# vi /etc/auto.home * -fstype=nfs,soft,intr,rsize=8192,wsize=8192,nosuid,tcp server:/home/&