Home‎ > ‎Server config‎ > ‎

Persisitent NFS mount on OSX Client

Mounting an NFS share on a OSX client persistently:

export EDITOR=emacs

Do not edit fstab directly. Use:
/usr/sbin/vifs as root

Add the line (example):

trin.bi.up.ac.za:/home        /server_home    nfs    resvport,rw

and save the file.

The equivalent command from the CLI:

mount -t nfs -o resvport, rw trin.bi.up.ac.za:/home /server_home 

Sometimes the server address must be used, instead of its hostname.