Skip to content

AutoFS - Setup

I use NFS exclusively throughout my home-lab setup, and find that AutoFS meets all of my requirements for file-sharing. Once configured correctly, things just work as expected.

Below is the minimal set of configuration I need to implement on my client machines to be able to access shares setup on a dedicated file server.

auto.files
/mnt/files/backup1 -rw,soft,intr,rsize=8192,wsize=8192,fstype=nfs4 files.local:/backup1
/mnt/files/backup2 -rw,soft,intr,rsize=8192,wsize=8192,fstype=nfs4 files.local:/backup2

Download

file.autofs
/- /etc/autofs/auto.files --timeout=3600

Download