This is the 3rd part of my Ubuntu home networking howto. In Part 1 I covered how to configure your home network with static IP addresses. Part 2 was about client and server configuration for NFS file sharing over the network. In Part 3 I'll show how to automatically mount the shared folders at boot time. This is done by editing the file system table in /etc/fstab. Log in to one of your client computers, open a terminal, and enter the following.
Append the following line to the end of this file and save it.
This change will mount your server's Music folder to your local media folder when you boot your client computer. This assumes, of course, that your server machine was booted prior to starting your client machine. If you boot your server after your client machines, you can force the /etc/fstab file to be reloaded by using the following command.
You may find that you have to issue this command occasionally if the network has trouble while the client computer is booting.
Hilary's comment is true and if possible the guide should be re-written. If you do the following you will be ok.
1. Substitute rpcbind for portmap when you see it in this guide (install it, reconfigure it where told and use the daemon start/stop)
2. Realize the nfs-common no longer has (or needs) a daemon start/stop
3. modify the /etc/exports file instead of Nautilus for identifying the server shared folder(s) (google /etc/exports examples NFS configuration, etc)
4. Realize the starting nfs-kernel-server also runs exportfs
the issue is that since this article was written this has changed and portmap has apparently been changed with rpc so even if the users follows this exactly it doesnt work.