(i asked on stack exchange, figured i'd ask here too)
i'm trying automount nfs fielsystem on imac (el capitan 10.11.1). fs exported mac mini (el capitan 10.11.1 + osx server 5.0.15).
on server :
config :
zhaan:etc root# cat exports
/srv/www -maproot=root:wheel
zhaan:etc root# showmount -e
exports list on localhost:
/srv/www everyone
on imac
- the directory /mnt/www exists , empty (root:wheel)
config :
moya:etc root> cat auto_master
#
# automounter master map
#
+auto_master # use directory service
/net -hosts -nobrowse,hidefromfinder,nosuid
/home auto_home -nobrowse,hidefromfinder
/network/servers -fstab
/- -static
/- auto_nfs -nobrowse,nosuid
moya:etc root> cat auto_nfs
/mnt/www/ -fstype=nfs,noowners,nolockd,noresvport,soft,bg,intr,rw,tcp,nfc nfs:///zhaan/srv/www
moya:etc root> automount -vc
automount: /net updated
automount: /home updated
automount: /mnt/www updated
automount: no unmounts
df shows :
map auto_nfs 0 0 0 100% 0 0 100% /mnt/www
no access possible :
moya:etc root> cd /mnt/www
-sh: cd: /mnt/www: no such file or directory
can't unmount - have reboot rid of it.
system.log shows same error :
nov 13 23:16:08 moya automountd[835]: mount of /mnt/www failed: no such file or directory
note : mounting fs manually works (and allows read , write root)
moya:etc root# mount -t nfs zhaan:/srv/www /mnt/www
moya:www root# df -g /mnt/www
filesystem 1g-blocks used available capacity iused ifree %iused mounted on
zhaan:/srv/www 1037 286 750 28% 75248595 196840907 28% /mnt/www
moya:etc root# cd /var/www; touch test; ll
total 0
drwxr-xr-x 3 root wheel 102 nov 14 00:12 .
drwxr-xr-x 27 root wheel 918 nov 13 10:50 ..
-rw-r--r-- 1 root wheel 0 nov 14 00:12 test
i've tried several options on client (ip vs hostname, soft vs hard, removing of them, or without : after server name, etc) , server (specifying -network) nothing works.
see nothing in server's system.log.
missing ?
Forums Macs Mac OS X Server, Xserve, and Networking
- iPhone
- Mac OS & System Software
- iPad
- Apple Watch
- Notebooks
- iTunes
- Apple ID
- iCloud
- Desktop Computers
- Apple Music
- Professional Applications
- iPod
- iWork
- Apple TV
- iLife
- Wireless
Comments
Post a Comment