Ubuntu HPC NFS server setup on master node

From Notes_Wiki
Revision as of 04:07, 23 February 2023 by Saurabh (talk | contribs)

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

  1. Create home folder under /export
    mkdir -p /export/home
  2. Install NFS packages
    apt install -y nfs-kernel-server
  3. 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.
  4. Export the new path
    exportfs -a
  5. Restart NFS server
    systemctl restart nfs-kernel-server



Home > Ubuntu > HPC setup with openpbs and openmpi > NFS server setup on master node