Thursday, February 19, 2015

How to configure client system for access NFS server in RHEL6 and RHEL7

Configuration OF Client system to access NFS server:

In my previous post i talk about Configuration of NFS server. and now I talk about how to configure client system to access NFS shared directory.

1. To Check the share folder, execute this command
                  #showmount -e <IP OF NFS SERVER>







2. Create a Mount Point, By creating a directory:
                  #mkdir <Directory For Mount Point>






3. Now edit /etc/fstab file:
                 #vim /etc/fstab
 and make entry for nfs shared directory and define:

<nfs server ip>:<shared directory>      mount point      nfs     defaults     0 0














save and exit.

4. Execute this command after the entry for permanent mounting:
                #mount <mont point directory>















5. Execute following command to check :
                     #df -h

6. Now, you can see the shared file or directory:
    open your mount point.
                      #cd <mount point>
                      #ls

No comments:

Post a Comment