Exporting File Systems With Yast - Novell LINUX ENTERPRISE SERVER 10 SP2 - INSTALLATION AND ADMINISTRATION Installation Manual

Hide thumbs Also See for LINUX ENTERPRISE SERVER 10 SP2 - INSTALLATION AND ADMINISTRATION:
Table of Contents

Advertisement

localdata -fstype=nfs server1:/data
nfs4mount -fstype=nfs4 server2:/
Activate the settings with rcautofs start. For this example, /nfsmounts/
localdata, the /data directory of server1, is then mounted with NFS and
/nfsmounts/nfs4mount from server2 is mounted with NFSv4.
If the /etc/auto.master file is edited while the service autofs is running, the au-
tomounter must be restarted for the changes to take effect. Do this with rcautofs
restart.
38.3.3 Manually Editing /etc/fstab
A typical NFS mount entry in /etc/fstab looks like this:
host:/data /local/path nfs rw,noauto 0 0
NFSv4 mounts may also be added to the /etc/fstab file manually. For these mounts,
use nfs4 instead of nfs in the third column and make sure that the remote file system
is given as / after the host: in the first column. The advantage of saving this informa-
tion in /etc/fstab is that commands for mounting can be shortened to just mention-
ing the local mount point alone, for example:
mount /local/path

38.4 Exporting File Systems with YaST

With YaST, turn a host in your network into an NFS server—a server that exports di-
rectories and files to all hosts granted access to it. This could be done to provide appli-
cations to all members of a group without installing them locally on each and every
host. To install such a server, start YaST and select Network Services > NFS Server. A
dialog like that in Figure 38.2, "NFS Server Configuration Tool" (page 724) opens.
Sharing File Systems with NFS
723

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the LINUX ENTERPRISE SERVER 10 SP2 - INSTALLATION AND ADMINISTRATION and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Suse linux enterprise server 10 sp3

Table of Contents