On-Demand NFS Mounting with autofs

The team share should appear when someone opens it and let go when nobody has for a while. autofs does that, with a master map, a map, and a timeout, and the mount table tells you whether it is working.

Skill labintermediate~30 minPro

What you'll do

  • ✓Prove an export is mountable by hand before automating it
  • ✓Write an autofs master-map entry and an indirect map with an idle timeout
  • ✓Trigger a mount by access and read it in the mount table
  • ✓Watch an idle mount expire, re-trigger it, and prove the map survives a service restart

Lab outline

  1. 01Prove the export
  2. 02Configure
  3. 03Use it
  4. 04Prove it

Before you start

  • NFSv4 Server and Remote Client Access

Every lab runs on a real machine of your own in the browser — no installs, nothing to clean up — and checks your work automatically as you go.

← All Linux System Administration labs

Your first machine is
8 seconds away.

Learn by doing on real machines — and give every AI agent one of its own.

Free forever · No credit card · Cancel anytime

On-Demand NFS Mounting with autofs — Linux lab | Kube Labs