Network File System (NFS) is a distributed file system protocol originally developed by Sun Microsystems (Sun) in 1984, allowing a user on a client computer to access files over a computer network much like local storage is accessed.

NFS, like many other protocols, builds on the Open Network Computing Remote Procedure Call (ONC RPC) system. NFS is an open IETF standard defined in a Request for Comments (RFC), allowing anyone to implement the protocol. — wikipedia.org

**Table of conetnts**
1. Install NFS RPM files

2. Start and Enable the “nfs-server” service

3. Manage SELinux for NFS service

4. Configuring SELinux and Firewall

5. Create an NFS (/home/usershare) share for the user

6. Check NFS (/home/usershare) configuration for the user

7. Mount NFS(/home/usershare) directory in the client1

8. Create an NFS (/home/groupshare) share for the group

9. Check NFS(home/groupshare) configuration for the group

10. Mount NFS(/home/groupshare) directory in the client1

11. Unmounting NFS File Systems

12. Automatically mounting NFS File Systems with /etc/fstab

Troubleshooting #1 — “RPC: Port mapper failure” message

Troubleshooting #2 — “Permission denied” message

Troubleshooting #3 — “device is busy” message
  1. Install NFS RPM files
# yum install -y nfs-utils nfs4-acl-tools
# rpm -ql nfs-utils | egrep "mount|nfsstat" | grep bin
/sbin/mount.nfs
/sbin/mount.nfs4
/sbin/umount.nfs
/sbin/umount.nfs4
/usr/sbin/mountstats
/usr/sbin/nfsstat
/usr/sbin/rpc.mountd
/usr/sbin/showmount# rpm -ql nfs4-acl-tools | grep acl | grep bin
/usr/bin/nfs4_editfacl
/usr/bin/nfs4_getfacl
/usr/bin/nfs4_setfacl
  1. Start and Enable the “nfs-server” service
# systemctl status nfs-server.service
● nfs-server.service - NFS server and services
   Loaded: loaded (/usr/lib/systemd/system/nfs-server.service; disabled; vendor preset: disabled)
   Active: inactive (dead)# systemctl start nfs-server