×

This article covers how to setup the NFS server and client on Mint. You will learn how to install the NFS server and client, configure and share NFS export directories, and mount/unmount the NFS shares on the client.

Network File System (NFS), is a distributed file system that allows various remote systems to access a file share. We all know that files should be stored on a central server for security and ease of backup. NFS provides us with a file sharing service that is easily managed and controls client access to resources.


To Install the NFS Client on the Client Systems:

1. Install the NFS-Common Package. As is the norm, begin by updating the system packages and repositories before anything else.

2. Create a NFS Mount Point on Client.

3. Mount NFS Share on Client System.

4. Testing the NFS Share on Client System.


A Network File System (NFS) allows remote hosts to mount file systems over a network and interact with those file systems as though they are mounted locally. This enables system administrators to consolidate resources onto centralized servers on the network.


Benefits of setting up an NFS server:

1. Enables multiple computers to use the same files, so everyone on the network can access the same data.

2. Reduces storage costs by having computers share applications instead of needing local disk space for each user application.



This article will guide you on how you can setup NFS server and client in Debian 10 system. Also, you will learn steps to install the NFS server and client, configure NFS shared directories, and mount/unmount the NFS shares on the client system.

Configuring a system to share files and directories using NFS is straightforward. 

NFS uses port 2049. NFSv3 and NFSv2 use the portmapper service on TCP or UDP port 111.

Every filesystem being exported to remote users via NFS, as well as the access rights relating to those filesystems, is located in the /etc/exports file.

To check #NFS mount #Linux:

1. Use showmount to show NFS shares.

2. Use exportfs to show NFS shares.

3. Use master export file /var/lib/nfs/etab to show NFS shares.

4. Use mount to list NFS mount points.

5. Use nfsstat to list NFS mount points.

6. Use /proc/mounts to list NFS mount points.




This article will show you how to install and configure an NFS Server on CentOS 8 Machine, Our Server Experts will take you through the steps to create files on both the NFS Server and Client and enable you share files efficiently between two or more systems.




More Linux Tutorials

We create Linux HowTos and Tutorials for Sys Admins. Visit us on IbmiMedia.com

Also for Tech related tips, Visit forum.outsourcepath.com or General Technical tips on www.outsourcepath.com