Novell LINUX ENTERPRISE SERVER 10 SP2 - INSTALLATION AND ADMINISTRATION Installation Manual page 740

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

Advertisement

38.3.1 Importing NFSv4 File Systems
The idmapd service must be up and running on the client to do an NFSv4 import. Start
the idmapd service from the command prompt with rcidmapd start. Use
rcidmapd status to check the status of idmapd.
The idmapd services stores its parameters in the /etc/idmapd.conf file. Leave
the value of the Domain parameter as localdomain. Ensure that the value specified
is the same for both the NFS client and NFS server.
Make NFSv4 imports by giving a command from the shell prompt. To import NFSv4
remote file systems, use the following command:
mount -t nfs4 host:/ local-path
Replace host with the NFS server that hosts one or more NFSv4 exports and
local-path with the directory location in the client machine where this should be
mounted. For example, to import /home exported with NFSv4 on sun to /local/
home, use the following command:
mount -t nfs4 sun:/ /local/home
The remote file system path that follows the server name and a colon is a slash "/". This
is unlike the way it is specified for v3 imports, where the exact path of the remote file
system is given. This is a concept called pseudo file system, which is explained in Sec-
tion 38.4.1, "Exporting for NFSv4 Clients" (page 725).
38.3.2 Using the Automount Service
As well as the regular local device mounts, the autofs daemon can be used to mount
remote file systems automatically too. To do this, add the following entry in the your
/etc/auto.master file:
/nfsmounts /etc/auto.nfs
Now the /nfsmounts directory acts as a root for all the NFS mounts on the client if
the auto.nfs file is completed appropriately. The name auto.nfs is chosen for
sake of convenience—you can choose any name. In the selected file (create it if it does
not exist), add entries for all the NFS mounts as in the following example:
722
Installation and Administration

Advertisement

Table of Contents
loading

This manual is also suitable for:

Suse linux enterprise server 10 sp3

Table of Contents