definitions

NFS is one of the network filesystems available on Linux. An NFS server has the NFS service installed and enabled. It hosts the mounted filesystem that shall be made available to remote systems. This action is called export and involves these files:

  • /etc/exports: where I configure the mounted filesystems that need to be remotely available to the defined machines,
  • /var/lib/nfs/etab: is called the master export table. It is populated as soon as an entry, in a correct format, is recorded in the /etc/exports file and exportnfs -a is run. The exportnfs -a command reads the entries of /etc/exports to do its job. I am simplifying these steps with the expression create an NFS share.

create a NFS share

user1@rhel10-vm1:~$ dnf list --installed nfs-utils
Not root, Subscription Management repositories not updated
Installed Packages
nfs-utils.x86_64               1:2.8.3-5.el10_2                @rhel-10-for-x86_64-baseos-rpms
user1@rhel10-vm1:~

I create a sample directory and give full permissions on it to everyone: