CertGrid CertGrid
Hands-on Lab·LPIC-2

An NFS export, proved from two clients

Objective 209.1 is NFS. This guide exports one directory to one host, mounts it from that host and reads a file over the network, then tries the same mount from a machine that is not in the export list. It also shows the client mounting read-write and still being unable to write, which is where the access control actually lives.

202: File Sharing Guide 19 of 29 Intermediate

The server exports one directory for the length of this page; both other machines attempt to mount it, and only one is permitted.
Server NameIP AddressOSRolesCPURAMHDD
LPIC2-A01192.168.0.78Ubuntu 26.04 LTSPrimary service host - BIND, Apache, Samba, Postfix. Topic 204 RAID runs on loop devices; this machine has no spare disk2 Core4 GB50 GB
LPIC2-B01192.168.0.79AlmaLinux 10.2Second service host - nginx, NFS, DNS secondary, and the other family's spelling of each service2 Core4 GB50 GB
LPIC2-C01192.168.0.80Ubuntu 26.04 LTSClient - resolves, mounts and connects, so every service is proven from a machine that is not running it2 Core4 GB50 GB

This guide includes

Use this for the NFS objective. This matters because a share can be mounted read-write and still refuse the write - the contradiction that shows where access is really decided.

Before you start

  1. A server, and one directory to share

  2. The export line, and who it names

  3. Mounting it, and reading a file over the network

  4. Mounted read-write, and the write still fails

  5. A host that is not in the export list

Official sources