I want to auto mount some NFS shares from my Synology NAS when I boot my Mac. Until recently, I had this working:
/etc/auto_master:
+auto_master # Use directory service
/net -hosts -nobrowse,hidefromfinder,nosuid
/home auto_home -nobrowse,hidefromfinder
/Network/Servers -fstab
/- -static
/- auto_nfs -nobrowse,nosuid
/etc/auto_nfs:
/mnt/idefix/digikam -fstype=nfs,noowners,nolockd,resvport,hard,bg,intr,rw,tcp,nfc,rsize=8192,wsize=8192 nfs://idefix:/volume1/digikam
Now, after upgrading to MacOS 10.15 (Catalina) this is no longer working. What am I doing wrong?
Not a direct answer, but in my case I needed to update the mountpoint specified in /etc/auto_nfs from /Users/foo/mountpoint to /System/Volumes/Data/Users/foo/mountpoint. Catalina disk structure has changed directory, perhaps related to your issue.
Yet another breaking change in a minor update to Catalina (10.15.2). The configuration that worked for me is the following:
/etc/auto_master:
#
# Automounter master map
#
+auto_master # Use directory service
#/net -hosts -nobrowse,hidefromfinder,nosuid
/home auto_home -nobrowse,hidefromfinder
/Network/Servers -fstab
/- -static
/Users/Share auto_nfs
/etc/auto_nfs:
mntp -noowners,nolockd,noresvport,hard,bg,intr,rw,tcp,nfc server:/share
This will automount the share server:/share on /Users/Share/mntp.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With