Installing NFS on new cluster

From ImageWiki

Revision as of 18:05, 17 March 2014 by Kimstp (Talk | contribs)
Jump to: navigation, search

Contents

NFS File server installation

The storage servers nfs1 and nfs2 acts as NFS file servers. The NFS server software has been installed on these machines.

Here is how the storage and compute servers has been configured.


Create mount points for NFS directories:

sudo mkdir /image
sudo mkdir /image/data1
sudo mkdir /image/data2
sudo mkdir /image/data3

STATUS: Has been done on all except nfs1

Mounting disks locally

nfs1

In /etc/fstab add

nfs2

In /etc/fstab add

/dev/vg0/user_1             /home/SCIENCE    xfs   defaults        1 2
/dev/vg1/user_2             /image/data1     xfs   defaults        1 2

Setting up NFS server

Using YaST2 gui tool for the installation:

sudo /sbin/yast2

Select NFSv4 and open the firewall.

nfs2-diku-image.science.ku.dk

Select Network services->NFS server and configure it with (configured in /etc/exports):

/home/SCIENCE   *(fsid=0,crossmnt,rw,root_squash,sync,no_subtree_check)
/image/data1    *(fsid=1,rw,root_squash,sync,no_subtree_check)

NFS client installation on compute servers

Using YaST2 gui tool for the installation:

sudo /sbin/yast2

Select Network services->NFS client and configure it with (configured in /etc/fstab):

Personal tools