Exporting File Systems Manually - Novell LINUX ENTERPRISE DESKTOP 10 SP2 - DEPLOYMENT GUIDE 08-05-2008 Deployment Manual

Table of Contents

Advertisement

37.5 Exporting File Systems Manually

The configuration files for the NFS export service are /etc/exports and /etc/
sysconfig/nfs. In addition to these files, /etc/idmapd.conf is needed for
the NFSv4 server configuration. To start or restart the services, run the commands
rcnfsserver restart and rcidmapd restart. The NFS server depends on
a running RPC portmapper. Therefore, also start or restart the portmapper service with
rcportmap restart.
37.5.1 Exporting File Systems with NFSv4
NFSv4 is the latest version of NFS protocol available on SUSE Linux Enterprise 10.
Configuring the directories for export with NFSv4 differs slightly from the previous
versions.
The /etc/exports File
This file contains a list of entries. Each entry indicates a directory that is shared and
how it is shared. A typical entry in /etc/exports consists of:
/shared/directory host(option_list)
For example:
/export 192.168.1.2(rw,fsid=0,sync)
/data 192.168.1.2(rw,bind=/export/data,sync)
Those directories for which fsid=0 is specified in the option list are called pseudo
root file systems. Here, the IP address 192.168.1.2 is used. You can use the name of
the host, a wild card indicating a set of hosts (*.abc.com, *, etc.), or netgroups.
For a fixed set of clients, there are only two types of directories that can be NFSv4 ex-
ported:
• A single directory that is chosen as the pseudo root file system. In this example,
/exports is the pseudo root directory because fsid=0 is specified in the option
list for this entry.
• Directories that are chosen to be bound to some an existing subdirectory of the
pseudo file system. In the example entries above, /data is such a directory that
712
Deployment Guide

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the LINUX ENTERPRISE DESKTOP 10 SP2 - DEPLOYMENT GUIDE 08-05-2008 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Linux enterprise desktop 10 sp2

Table of Contents