

- #Mac os nfs server mac os x#
- #Mac os nfs server mac os#
- #Mac os nfs server trial#
- #Mac os nfs server mac#
There is a known issue with OS X where you must pass the insecure option to the defined host in the server’s /etc/exportfs configuration file: /srv (rw,insecure) Server-side, there is one important thing to note. So when you reboot the computer and then navigate to the defined folder, OS X will automatically initiate a connection to the NFS server. The nice thing about defining NFS mounts is that they are always available, because they are auto-mounted. Any available NFS mounts will be noted there, and you can navigate the directory tree that way. You can use the Finder to navigate to the path by going to the root device (i.e., the default Macintosh HD) and then opening the nfs folder, or wherever you specified the local mount. The Finder won’t list these mounts like it does AFP or SMB they won’t be listed under the SHARED section of the Finder sidebar. Figure AĪt this point, you can navigate to /nfs/fileserver/ in the Terminal to deal with files, or you can use the Finder. Click the Verify button and OS X will initiate a connection to the NFS server to make sure the settings are correct. The ideal value to place here is: resvport,nolocks,locallocks,intr,soft,wsize=32768,rsize=3276 (Look at the mount_nfs manpage for all of the available options and what they mean).Ħ. Here you can pass some extra parameters to the NFS mount. Expand the Advanced Mount Parameters section. For the local mount location, use something like /nfs/fileserver.ĥ. For the remote NFS URL, use nfs:/// for example: nfs:///srv.Ĥ. Select the “+” button at the bottom left of the window to add a new NFS mount.ģ. A new window will open that lists any defined NFS mounts.Ģ. In the menu bar, select File | NFS Mounts. It is easier to configure, but becomes painful if there are a lot of NFS mounts to set up, as you must do them one by one.ġ. Instead, use the Disk Utility GUI to set up individual NFS mounts. This uses the automountd daemon which is configured using the /etc/nf and /etc/auto_master configuration files.įor those familiar with UNIX, or in environments with a lot of regularly-accessed NFS mounts, it would be worth exploring setting up NFS mounts this way, but I have found it to be quite frustrating. The first is to use the built-in automount setup, which allows you to automatically connect to hosts by accessing /net//, but this can be problematic.
#Mac os nfs server mac#
With OS X 10.6, there are two ways to have your Mac set up as an NFS client.
#Mac os nfs server trial#
For sharing files with Linux or other UNIX servers, using NFS is a great solution, but getting OS X set up as an NFS client can take a little trial and error. For interoperation with Windows, SMB is best.

For Mac-to-Mac file sharing, AFP is the best solution. It supports AFP, SMB, FTP, and NFS out of the box.
#Mac os nfs server mac os#
Mac OS X, being a UNIX-based operating system, can handle a number of file sharing protocols.
#Mac os nfs server mac os x#
So Matt's home directory is accessible to him.Vincent Danen outlines the steps to set up NFS mounts with the Disk Utility GUI in Mac OS X and offers some basic tips on configuration. hugh% ls -al /mount/company_usersĭrwxrwxrwx 26 hugh wheel 840 27 Jan 19:09. Last login: Mon Mar 8 18:17:52 on ttys011 It looks as though OS X is trying to do something else to the user home directories mount point when you log in through the GUI….įor example, on this machine (nv001), I (hugh) am logged into the GUI. However, if a user tries to SSH into a machine that they are not the primary user on, they often have no access to their own home directory. This work fine on the Linux workstations, but there is some weirdness under OS X.įor the user who is logged in through the GUI, it all works just fine. This is mounted on the workstations to: /mount/company_users On the server end, the home directories are stored in: /Volumes/data/company_users To ensure that the Linux and OS X workstations both see user's home directories in the same place, I shared the home directories using NFS.

The majority of our workstations are OS X, but there are a few running Linux (Centos 5.3), and, as time goes on, we expect the proportion of Linux workstations to increase (at some point, we expect to move the server side over to Linux too, but for now we're running with what we've already got) Our server is an XServe, using Open Directory to manage the user accounts. I've run into some problems with how I've got user home directories set up on our system here.
