Child pages
  • Manual Mounting of NFS Shares
Skip to end of metadata
Go to start of metadata

Purpose: When auto-mounting fails, need to be able to manually mount the NFS shares on a Mac/RHEL. 


Usually auto-mounting home directories and other shares occurs automatically. However, there may be times when some or all of the shares do not mount  properly following a shutdown/reboot/logoff. In these situations, a manual way to mount the shares is needed. The following command can be edited and run to manually connect: 

First check that your client is on the server's export list with

showmount -e idahub.ucsd.edu

or using Jeff Robert's app smount on igppsoftware

smount igppnhome.ucsd.edu


sudo mount -t nfs -o resvport servername.ucsd.edu:/home/shared /volume/shared

Examples:

sudo mount -t nfs -o resvport idahub.ucsd.edu:/usr/nrts /ida/nrts
sudo mount -t nfs -o resvport igppixs1.ucsd.edu:/mnt/vol1/ida /ida

To specify NFS version when mounting use

sudo mkdir -p /test/home
mount -t nfs -o vers=4 igppnhome.ucsd.edu:/pools/home/Users /test/home

To permanently add NFS v4 to the configuration add the line below to /etc/nfs.conf

sudo vi /etc/nfs.conf

nfs.client.mount.options = vers=4

to check, use

nfsstat -m
rpcinfo -p igppnhome.ucsd.edu

Reference https://apple.stackexchange.com/questions/50647/set-default-nfs-v4-when-connecting-from-mac-os-x-lion

  • No labels