Chapter 22. Sharing File Systems with NFS

Contents

22.1. Importing File Systems with YaST
22.2. Importing File Systems Manually
22.3. Exporting File Systems with YaST
22.4. Exporting File Systems Manually
22.5. For More Information

Abstract

As mentioned in Chapter 21, Using NIS, NFS works with NIS to make a network transparent to the user. With NFS, it is possible to distribute file systems over the network. It does not matter at which terminal users are logged in. They always find themselves in the same environment.

Like NIS, NFS is a client/server system. A machine can be both—it can supply file systems over the network (export) and mount file systems from other hosts (import).

[Important]Need for DNS

In principle, all exports can be made using IP addresses only. To avoid time-outs, however, you should have a working DNS system. This is necessary at least for logging purposes, because the mountd daemon does reverse lookups.


22.1. Importing File Systems with YaST

Users authorized to do so can mount NFS directories from an NFS server into their own file trees. This can be achieved most easily using the YaST module NFS Client. Just enter the hostname of the NFS server, the directory to import, and the mount point at which to mount this directory locally. All this is done after Add is clicked in the first dialog. Click Open Port in Firewall to open the firewall to allow access to the service from remote computers. The firewall status is displayed next to the check box. Clicking OK saves your changes. See Figure 22.1, “NFS Client Configuration with YaST”.

Figure 22.1. NFS Client Configuration with YaST

NFS Client Configuration with YaST