Page MenuHomePhabricator

Mounting NFS
Updated 2,098 Days AgoPublic

Set up NFS Home Directories

On nfs2.cse.unr.edu in /etc/exports, paste the following line:

134.197.63.122(rw,async,no_subtree_check,sec=sys) \
134.197.62.74(rw,async,no_subtree_check,sec=sys) \
*(rw,async,no_subtree_check,sec=krb5:krb5i:krb5p) \

Then run exportfs -arv and make sure that there are no errors.

Now head over on to the node of your choice (ex: spearmint.cse.unr.edu, or spearmint-0.cse.unr.edu):

In /etc/auto.master, paste the following line

/cse /etc/auto.cse`

In /etc/auto.cse paste the following line

home -fstype=nfs4,intr,soft nfs2.cse.unr.edu:/exports/home

Be sure to restart autofs. In this situation, we are using Ubuntu 18.04, so run

$ /usr/sbin/service autofs restart

Join to CSE Domain

Make sure that the following are installed

$ apt install freeipa-client sssd-tools nfs-common autofs htop

When that's done, run

$ ipa-client-install --no-ntp --server=ipa1.cse.unr.edu --domain=cse.unr.edu

The directories are created mounted in /cse/home. There should be plenty of faculty/student directories in there. To check, run

# getent passwd NETID
$ getend passwd lanle
Last Author
lanle
Last Edited
Mar 13 2019, 3:09 PM

Event Timeline

lanle edited the content of this document. (Show Details)