Ubuntu HPC NFS server setup on master node
From Notes_Wiki
Revision as of 07:48, 17 February 2023 by Saurabh (talk | contribs) (Created page with "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 #:<pre> #:: mkdir -p /export/home #:</pre> #Install NFS packages #:<pre> #:: apt install -y nfs-kernel-server...")
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/home <private-subnet>(rw,sync,no_subtree_check)
- For example
- /export/home 172.16.1.0/24(rw,sync,no_subtree_check)
- 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