Difference between revisions of "Automount nfs4 mac osx"
From Asenjo
(Created page with "Category:macosx This info is valid for this mac osx version: <code><pre> sw_vers ProductName: Mac OS X ProductVersion: 10.6.8 BuildVersion: 10K549 </pre></code>...") |
m (Natxo moved page Macosx automount nfs4 to Automount nfs4 mac osx) |
(No difference)
|
Revision as of 00:01, 28 April 2013
This info is valid for this mac osx version:
sw_vers
ProductName: Mac OS X
ProductVersion: 10.6.8
BuildVersion: 10K549
This is the only version I have handy ;-)
to get mac osx to automount an nfsv4 share on a centos 6 server:
- create automount map. I called it /etc/auto_foo:
$ cat /etc/auto_foo
* -fstype=nfs,4.0alpha 192.168.0.184:/home/&
- modify /etc/auto_master:
$ cat /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
## extra maps
/nfs4 /etc/auto_foo
- create /nfs4 dir with root:wheel 755 permissions.
- restart automount:
# automount -vc
After that when you access a sufolder of home under /nfs4/ it will be automounted.