Ubuntu HPC NFS server setup on master node
From Notes_Wiki
Home > Ubuntu > HPC setup with openpbs and openmpi > NFS server setup on master node
Create ext4 lvm partition with required space to be shared with clients. Mount created lvm partition on /export via UUID using /etc/fstab
- Create home folder under /export
- mkdir -p /export/home
- Install NFS packages
- apt install -y nfs-kernel-server
- Enter the mount point in /etc/exports file and insert
- /export <private-subnet>(rw,sync,no_subtree_check)
- For example
- /export 172.16.1.0/24(rw,sync,no_subtree_check)
- Note that we are exporting entire /export from master and not just /export/home. Later we can create /export/apps for apps and other sub-folders for other purposes.
- Export the new path
- exportfs -a
- Restart NFS server
- systemctl restart nfs-kernel-server
Home > Ubuntu > HPC setup with openpbs and openmpi > NFS server setup on master node