Skip to content

NFS

Hostname & FQDN

Show hostname:

hostname

Show FQDN:

hostname -f

Edit hostname:

sudo nano /etc/hostname

Edit FQDN and known hosts:

sudo nano /etc/hosts

Example:

127.0.1.1       server02.jrcai.lan server02
10.22.188.11        server02.jrcai.lan server02

NFS Shared Storage (Client)

No longer the NFS server

server02 used to host the export for /hdd/slurm_users/home itself. Storage has since moved to its own NAS, and server02 mounts it the same way as the Login Node and Worker Nodes — the old server setup (and the XFS disk quota setup that went with it) is kept in the Archive in case server02 ever needs to go back to being an NFS server.

sudo apt install rpcbind nfs-common

Make the directory to mount from the network:

cd /hdd
sudo mkdir slurm_users
cd slurm_users/
sudo mkdir home
sudo chmod 777 /hdd/slurm_users/home

Mount manually (temporary, for now):

sudo mount 10.22.154.19:/hdd/slurm_users/home /hdd/slurm_users/home

Make it persistent by editing /etc/fstab:

sudo nano /etc/fstab
10.22.154.19:/hdd/slurm_users/home /hdd/slurm_users/home nfs rw 0 0

After editing /etc/fstab, refresh with:

sudo mount -a