Importing File Systems Manually - Novell LINUX ENTERPRISE SERVER 10 - INSTALLATION AND ADMINISTRATION 11-05-2007 Installation Manual

Table of Contents

Advertisement

38.3 Importing File Systems Manually

File systems can easily be imported manually from an NFS server. The prerequisite for
this is a running RPC port mapper, which can be started by entering rcportmap
start as root. Once this prerequisite is met, remote exported file systems can be
mounted in the file system just like local hard disks using the mount command in the
following manner:
mount host:remote-path local-path
If user directories from the machine sun, for example, should be imported, use the fol-
lowing command:
mount sun:/home /home
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
Sharing File Systems with NFS
713

Advertisement

Table of Contents
loading

This manual is also suitable for:

Suse linux enterprise server 10

Table of Contents