CertGrid CertGrid
Hands-on Lab·Red Hat Certified System Administrator

NFS Mounts and Client Packages

The objective is the client side, and step one is the one that wastes the most time: nfs-utils is not installed on a minimal RHEL 10, and without it mount -t nfs fails with a message about a "remote address" that mentions no package at all. After that, root_squash is demonstrated rather than described.

File Systems Guide 38 of 67 Intermediate

The mount helper is /usr/sbin/mount.nfs, from nfs-utils. Without it, mount -t nfs hands the specification straight to the kernel, which cannot resolve a hostname into an address - hence the error. Installing the package is the whole fix.

RHCSA-UTIL01 exports /srv/nfsshare read-only and /srv/nfsrw read-write to the lab subnet.
Server NameIP AddressOSRolesCPURAMHDD
RHCSA-A01192.168.0.31RHEL 10.0Practice node (graded) - spare /dev/sda2 Core4 GB50 GB + 15 GB
RHCSA-UTIL01192.168.0.32RHEL 10.0Utility - repository server and NFS exports2 Core4 GB50 GB

This guide includes

Use this because step one is the one that wastes the most time. This matters because the client package is not installed by default - so the mount fails before anything about NFS is even wrong.

Before you start

  1. The package nobody mentions

  2. Discovering what is exported

  3. Mounting read-only

  4. root_squash

  5. Making it persistent

  6. Unmounting, and when it refuses

Official sources