The usual way to make a connection to an NFS server to access shared files is to create an automount entry and let macOS do the rest. The technical parameters to establish the connection are stored onto a directory node, and the connection will be associated with a folder, the mount point. As soon as any program, for example the Finder, opens the mount point, macOS will automatically establish the connection to the server and the shared files will become visible. Further information can be found in the introductory chapter.
Disconnecting the server is also handled automatically, as soon as the operating system realizes that files from the mount point have no longer been in use for some period. Apple’s default is set to 60 minutes. In case the mount has not been used within that time frame, it will be disconnected automatically. This way, the memory consumption and the overhead to monitor all server connections will always be as low as possible. This is important because especially in large networks, creating several thousand automount entries is not unusual.
Automount entries are stored onto one or more directory nodes. All directory nodes currently accessible from your computer will be automatically found and listed by NFS Manager. For each node, a line Automounts from… will appear in the overview of configuration topics in the control window.
The node /Local/Default is always available. You can use it to store entries locally on this computer. In this case, the entries cannot be shared between multiple computers, however. Each client has to be configured separately.
To add a new entry, click the button [+] below the table. A new line with default values will be inserted. You’ll have to overwrite the values with the data applicable to your configuration:
Specify either the DNS name or the IP address of the server to which a connection should be made at NFS Server. If the server advertises its NFS services to the network using Apple’s Bonjour technology, you can also click the button Select… and choose the server from a list.
At Share Path, enter the name of the share which should be accessed on the server. The name is normally identical to the absolute path the server uses to access the shared files. If you don’t know the name, and the server has already been specified, you can click the button Select… to show a list of all NFS shares available on the server. The correct one can be selected. If NFS Manager doesn’t react after you have clicked the Select… button, this will indicate that there is a network problem contacting the selected server. In this case you’ll have to wait until macOS is canceling all connect requests to the selected server.
NFS Manager displays the server address (URL) for the automount in small print below the main entry fields. This address can be used with the Finder’s Go > Connect to Server feature to make a non-automatic, manual connection. You can drag or copy/paste the line directly into the Finder’s entry field.
An automount entry can be deleted by selecting it in table and clicking the button [—] below the table.
The section Mount Point specifies which folder on your computer should be used
Two different modes of operation are possible:
AUTOMATIC: macOS should automatically care about creating, naming, and removing this folder. In this case, the folders of each share or server will appear in the folder Network > Servers of your computer.
To open the network folder in the Finder, select the menu item Go > Network or press the key combination ⌘ + ⇧ + K. At the UNIX level, you can reach this folder by the path /Network.
Within the folder Servers, all shares will also be divided by name (or IP address) of the server and name of the share. For example, the shared folder /Fonts of the server macserver.local will appear in the folder Network > Servers > macserver.local > Fonts.
PREDEFINED: You specify a fixed location at which the share should be triggered and inserted. The folder must be specified by its absolute Unix path. If the folder exists already, you can navigate to it by clicking the button Select….
macOS will automatically create this folder if it doesn’t exist. If the folder contains files already, the files will either be hidden while the server connection is active, or they will be overlaid (“mixed”) by the files of the share. The latter feature can optionally be activated by checking the option Overlay contents with mount point folder.
Each connection to an NFS server can be configured with additional options to adapt it to special needs. If the connection is made to a server which doesn’t run macOS but another operating system, it can even be necessary to switch certain options on or off, because otherwise the communication may not work correctly.
The three most important options are visible as checkboxes under the Options headline:
A high number of further settings can be configured after clicking the button Show advanced options. These options are documented on a separate page.
When creating new automounts, NFS Manager will also enable the features Allow operations to fail if server doesn’t respond and Retry in background after initial server contact failed, which are useful in most cases. If you like to switch off these features, you must use the button Show advanced options.
After you have created or edited all desired automount entries you can store the entire table on the respective directory node. This will also apply the settings, i.e. macOS will be forced to re-read the table, to activate new mount points, and to deactivate removed ones, respectively. Click the button Apply at the lower right.
To discard all changes going back to the previous state, click the button Revert.
After an automount entry has been saved, macOS prepares the associated server connection and mount point. The actual connection will be established when the mount is triggered. To do this, it is sufficient to open the mount point with any application. You can also use NFS Manager:
Note that automatically mounted connections to NFS servers will not be represented by an icon on the Desktop or the sidebar of the Finder. This would not be useful because in large networks it is common to use several hundred connections at the same time. With so many icons, you could no longer have an overall view.
If you like to use a certain share regularly, it is recommended to drag the associated mount point into the sidebar or the toolbar of the Finder instead. With a single mouse click, you can then access the files, or trigger the mount, respectively.
NFS Manager can also be used to create an alias for the share onto your Desktop. This is done via the item Active Mounts.