From Server Side:
1- check if NFS server is installed and running:
Check package availability:
If no output, then install the package:
Verify service status:
if no output, then start the service:
2- Configuration files:
Main Config file:
/etc/exports Contain list of resource will be exported to clients.
/etc/sysconfig/nfs Contain the main config for NFS Service.
/var/lib/nfs/etab List of currently exported reources.
/var/lib/nfs/rmtab List of remotely mounted resources.
Adding locations and permission to /etc/exports:
file syntax <mountpoint> <host><permissions/options>
/home/sharefolder *(rw,sync) note: there in no space between host and permissions.
* :mean allow all host to mount this resource.
rw :set read/write permissions to folder.
sync :All changes must be written to disk.
3- Reexports all directory:
From Client Side:
4- check rpcbind service is up and running.
5- create local directory :
6- mount NFS share:
Check available shared on remote server:
Mount the sharefolder NFS share:
7- add entry to /etc/fstab to have them mounted automatically at system boot
To verify correct added line to /etc/fstab:
if no error message appear its mean your syntax is correct.
8- Verify that the resources was mounted properly :
9- enable nfs service at boot time:
Use this option if you were cloning Oracle Products to nfs share folder.