Mount Research Storage on Linux

Mount on Linux Using NFS

Requirements

In order to mount the storage using NFSv4, the computer needs to:

  • Be joined to the WolfTech Active Directory domain
  • Use WolfTech for user authentication
  • Mount the OIT Research Storage share using NFS version 4 with Kerberos user authentication and encrypted network traffic

Configure Linux to use Active Directory

Please check with your department’s IT staff for help with configuring your computer to use the Wolftech Active Directory domain.

Mount the Storage

Configure /etc/fstab

Add a line like the following line to /etc/fstab to mount the OIT Research Storage share when the computer boots:

oitrspprd.hpc.ncsu.edu:/rsstu/users    /rsstu/users  nfs4 sec=krb5p

The local directory used to mount the share can obviously be anything you like. The remote share may be mounted at the /rsstu/users directory or lower.

The directory structure under /rsstu/users is organized by directories named a through z which correspond to PI Unity IDs.

The share can be mapped directly to an individual project directory:

oitrspprd.hpc.ncsu.edu:/rsstu/users/j/jbdoe/some-project

If a PI has multiple project directories, the share can be mapped to the PI’s Unity ID directory such as:

oitrspprd.hpc.ncsu.edu:/rsstu/users/j/jbdoe

Mount Shares

Mount all shares listed in /etc/fstab:

mount -a

Make Sure Share is Mounted

Run the mount command without any options to view the currently mounted filesystems. Pipe the command to grep to only display the OIT Research Storage NFS share.

mount | grep oitrspprd

You should see a line similar to the following:

oitrspprd.hpc.ncsu.edu:/rsstu/users on /rsstu/users type nfs4 (rw,relatime,vers=4.1,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=krb5p,clientaddr=x.x.x.x,local_lock=none,addr=x.x.x.x)