I have a NFS server set up on my local LAN running on Arch Linux that I can connect to using OS X Mavericks by issuing the following command in the terminal:

mount -t nfs -o resvport host:/srv/nfs4/users /mnt/host

As the NFS client is a MacBook Pro, I would like for it to automatically connect to the NFS server whenever I am home (and do nothing otherwise). Adding the following line in /etc/auto_master did not work:

/mnt/host -fstype=nfs4,resvport host:/srv/nfs4/users

More specifically, running automount -vc yields the following:

automount: /net updated
automount: /home updated
automount: /mnt/host nmounted
automount: no unmounts

...but /mnt/host is an empty directory even when I cd into it.

Can anybody help me out? Thanks in advance and let me know if I omitted important details.


If you try default /etc/auto_master file, you can see line

/net            -hosts      -nobrowse,hidefromfinder,nosuid

Then you can cd /net/host/exported/path and found that mac tries to mount this exported path.


I'm running into the same problem than @ndejay but the cause may differ sightly.

I'm using NFSv3 and my Autofs maps were working on OS X 10.5 to 10.8 :

/mnt -fstype=nfs,nfsvers=3,proto=tcp,resvport myserver:/share

On Mavericks it works only from the command line :

mount -t nfs -o nfsvers=3,proto=tcp,resvport myserver:/share /mnt

With a little debugging and sniffing I figured out that Mavericks's Autofs tries to mount the NFSv3 share only if its "pingnfs" check (with UDP paquets to port 111) is successful.

That behaviour added to a corporate firewall that doesn't allow UDP trafic on port 111 makes Mavericks not usable for us.


I found that the automountd service wasn't loaded on my machine (running 10.10 Yosemite).

$ sudo launchctl list | grep -i auto
84878   0   com.apple.autofsd
-   0   com.apple.preferences.timezone.auto
-   0   com.apple.automountd

Restarting autofsd and automountd and then rerunning automount -vc has made it work.

sudo launchctl unload /System/Library/LaunchDaemons/com.apple.automountd.plist
sudo launchctl unload /System/Library/LaunchDaemons/com.apple.autofsd.plist
sudo launchctl load /System/Library/LaunchDaemons/com.apple.autofsd.plist
sudo launchctl load /System/Library/LaunchDaemons/com.apple.automountd.plist

I've been using a commercial product called NFS Manager to handle my automounts, and it's been working great. It has a trial mode, so you can see if it works for you and is worth the money.

I have no affiliation with the product.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .