User Tools

Site Tools


hpc:installnfs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
hpc:installnfs [2020/01/29 09:33]
miriel@uclv
hpc:installnfs [2020/04/10 17:38] (current)
Line 76: Line 76:
 <​code>​ <​code>​
 yum -y install nfs-utils yum -y install nfs-utils
 +</​code>​
 +===== Mouting NFS Share on the Client =====
 +We need to create a folder on clients where we are going to mount the remote NFS folder
 +
 +<​code>​
 +mkdir /opt/apps
 +</​code> ​
 +
 +<​code>​
 +mount -t nfs -o nfsvers=4 10.10.2.242:/​opt/​apps /opt/apps
 +</​code>​
 +
 +Verifying its all ok
 +
 +<​code>​
 +df -hT | grep /opt/apps
 +</​code>​
 +
 +To persist the changes across system reboots, Configure NFS mounting on /etc/fstab.
 +
 +<​code>​
 +vi /etc/fstab
 +</​code>​
 +
 +Add a line like with the following syntax to the end of file.
 +
 +<​code>​
 +10.10.2.242:/​opt/​apps ​ /​opt/​apps ​  nfs defaults ​  0 0
 +</​code>​
 +
 +Test your settings.
 +
 +<​code>​
 +sudo umount /mnt
 +sudo mount -a
 +df -hT | grep /mnt
 </​code>​ </​code>​
  
  
hpc/installnfs.1580290389.txt.gz ยท Last modified: 2020/04/10 17:38 (external edit)