Ubuntu: Install NFS client support

Install NFS client support
Bron: http://ubuntuforums.org/showthread.php?t=249889
sudo apt-get install portmap nfs-common

Mounting manually
Example to mount netgear1:/media to /netgear1/media. In this example netgear1 is the name of the server containing the nfs share, and media is the name of the share on the nfs server

The mount point /netgear1/media must first exist on the client machine.
cd /
sudo mkdir netgear1/media

to mount the share from a terminal type

sudo mount netgear1:/media /netgear1/media

Note you may need to restart above services:
sudo /etc/init.d/portmap restart
sudo /etc/init.d/nfs-common restart

Mounting at boot using /etc/fstab
Invoke the text editor using your favorite editor, or
gksudo gedit /etc/fstab

In this example my /etc/fstab was like this:

  • netgear1:/media /netgear1/media nfs rsize=8192,wsize=8192,timeo=14,intr

You could copy and paste my line, and change “netgear1:/media”, and “/netgear1/media” to match your server name:share name, and the name of the mount point you created.
It is a good idea to test this before a reboot in case a mistake was made.
type
mount /netgear1/media
in a terminal, and the mount point /netgear1/media will be mounted from the server.

Erik van Rijswoud

Welkom op mijn blog

Geef een reactie

Je e-mailadres wordt niet gepubliceerd. Vereiste velden zijn gemarkeerd met *

Deze site gebruikt Akismet om spam te verminderen. Bekijk hoe je reactie gegevens worden verwerkt.