Hands-on Lab·Red Hat Certified System Administrator
On-Demand Mounting with autofs
One objective. The behaviour is the whole point and it is captured directly: `findmnt` reports nothing mounted, one `ls` runs, and `findmnt` reports an NFS mount that autofs created. Both map styles the exam can ask for - indirect and direct - are built here.
File Systems Guide 39 of 67 Intermediate
- OSRHEL 10.0 (Coughlan)
- Kernel6.12.0-55.9.1.el10_0
- dnf4.20.0
- Flatpak1.16.0
- TimeAbout 14 min
- Reviewed23 August 2026
Written against the versions above. Put maps in `/etc/auto.master.d/<name>.autofs` rather than editing `/etc/auto.master`. The stock master file ends with `+auto.master`, which includes that directory, so a drop-in survives package updates and can be deleted cleanly.
| Server Name | IP Address | OS | Roles | CPU | RAM | HDD |
|---|---|---|---|---|---|---|
| RHCSA-A01 | 192.168.0.31 | RHEL 10.0 (Coughlan) | Practice node (graded) - spare /dev/sda | 2 Core | 4 GB | 50 GB + 15 GB |
| RHCSA-UTIL01 | 192.168.0.32 | RHEL 10.0 (Coughlan) | Utility - repository server and NFS exports | 2 Core | 4 GB | 50 GB |
Before you start
- A working NFS mount first -
guide 38. - The session installs
autofs, writes map files, and removes them.
-
The package and the map files
-
An indirect map
-
Nothing is mounted until something looks
-
Both keys, and no fstab at all
-
A direct map