[Work with Yast] Configure NFS
Hi This is SAP Ops ST03.
This time, we are going to configure NFS with Yast on SUSE Linux.
FYI, Firewall is diabled and working with SLES 12 SP2.
#1 Configuration on Server Side
This is configuration on NFS hosting side.
In many cases, we can perform many OS configuration through Yast on Suse Linux.
First of all, create a folder which is going to share through NFS.
root@saptest01:~ # mkdir /nfstest/st03
Logon as root account and start yast
root@saptest01:~ # yast
Network Service > NFS Server
Check Start on NFS server (through Space bar)
If you want to configure NFSv4, check on "Enable NFSv4" or activate as NFSv3 which is default.
NFSv4 need to open port 111 (portmap) & 2049 (rpc.nfs).
NFSv3 need to open port 111 & 2049 and there are other random ports are there. So you should be configure it to do not change ramdonly, or firewall has to be disabled.
If you want to work NFS with lower version, you have to configure it manually.
Add directory that you want to share, and client server information.
Add Directory > Path for share folder (/nfstest/st03) > Client target server (saptest02)
Check each parameters and finish configuration.
#2 Configuration on Client Side
This is client side configuration.
It will be configured through Yast as we have done on server side.
Logon with root account and start yast.
root@saptest02:~ # yast
Network Service > NFS Client
Add NFS server information (directory and server information) and mount point on client side.
If you already have folder with same name as mount point, then original file system is sealed and you can work as NFS shared folder.
Go to NFS Settings and check Enablement of NFSv4.
As same as server side, check if you want to use NFSv4 or it will be configured as NFSv3
You can check mount status with df command on client side.
root@saptest02:~ # df -h
#3 Trouble shooting (Firewall issue)
You can check NFS service log through following command on server side.
root@saptest02:~ # service nfs status
"Started Alias for NFS Client" will be appeared if there is no issue.
It is time out issue because of Firewall.
In this case, you should open service on firewall configuration.
We can access there with Yast > Security and Users > Firewall
If there is no NFS services on "Allowed Service", then please add each NFS Server / Client Service to open Firewall.







