Source: https://foxhop.net/f3b58cf8-2f95-11f1-a0c0-e86a64d24d78/ubuntu-auto-mount-nfs-using-autofs
Snapshot: 2026-05-25T18:04:13Z
Generator: Remarkbox 1527ef7

This is a thread snapshot. The living document lives at the source URI above — it may have been edited, extended, or replied-to since.

Scan for living source

How to configure autofs to mount an NFS filesystem

Install the needed packages:

sudo apt-get install autofs nfs-client:

Enable auto-mount to search network

sudo vim /etc/auto.master

Un-comment the /net line:

#/net    -hosts
/net    -hosts

Restart autofs:

sudo service autofs restart

Test:

cd /net/[nfs server hostname]
cd /net/guile.foxhop.net

Success!

Now I would suggest creating a link in your home directory.

This is how I made the link:

ln -s /net/guile.foxhop.net/mnt/mirror /home/fox/mirror

temporary NFS mount

# as root
apt-get install nfs-common
mkdir /mnt/temp-mount/
mount -o soft,intr,rsize=8192,wsize=8192 server:/data/NbClient /mnt/temp-mount/

# when finished, clean up mount
umount /mnt/temp-mount/

Source: https://foxhop.net/f3b58cf8-2f95-11f1-a0c0-e86a64d24d78/ubuntu-auto-mount-nfs-using-autofs
Snapshot: 2026-05-25T18:04:13Z
Generator: Remarkbox 1527ef7