Sample Amd Map File; Error Messages When The Filesystem Is Not Exported; Output After Exporting /Tony On The Control Workstation - IBM RS/6000 SP Problem Determination Manual

Hide thumbs Also See for RS/6000 SP:
Table of Contents

Advertisement

This soft copy for use by IBM employees only.
Figure 94. Sample A m d Map File
4. After creating a new A m d map file, use
5. If one of the following error messages shown in Figure 95 is returned when
Figure 95. Error Messages When the Filesystem Is Not Exported
Figure 96. Output after Exporting /tony on the Control Workstation
# This file contains the definition of the amd maps for /auto.
# /etc/amd/amd-maps/amd.auto
/defaults
type:=nfs;opts:=rw,soft;sublink:=${key}
one
host==sp21cw0;type:=link;fs:=/tony \
host!=sp21cw0;type:=nfs;rhost:=sp21cw0;rfs:=/tony
two
host==sp21cw0;type:=link;fs:=/tony \
host!=sp21cw0;type:=nfs;rhost:=sp21cw0;rfs:=/tony
three
host==sp21cw0;type:=link;fs:=/tony \
host!=sp21cw0;type:=nfs;rhost:=sp21cw0;rfs:=/tony
four
host==sp21cw0;type:=link;fs:=/tony \
host!=sp21cw0;type:=nfs;rhost:=sp21cw0;rfs:=/tony
The example in Figure 94 will mount the directory /tony (and its
subdirectories) on the Control Workstation and on the nodes as /auto. On
the Control Workstation, the original directory (/tony) will be linked to /auto.
Then run /etc/amd/amd_start -f to restart Amd. This makes it unnecessary
to reboot all the nodes that have the new map.
trying to access a filesystem mounted by Amd, ensure that the filesystem
has been exported on the server.
root@sp21n09 / > cd /auto/one
ksh[2]: /auto/one: permission denied
root@sp21n09 / > cd /auto
root@sp21n09 /auto > cd one
ksh[2]: one: not found
To correct this problem, add the filesystem to /etc/exports and run
-a
on the server.
root@sp21n09 / > cd auto/one
root@sp21n09 /auto/one > ls -l
total 0
-rwxrwxrwx
1 root
system
-rwxrwxrwx
1 root
system
-rwxrwxrwx
1 root
system
dsh
to copy the file to each node.
0 May 9 10:04 a.1
0 May 9 10:04 b.1
0 May 9 10:04 c.1
Chapter 9. User and Services Management
exportfs
223

Advertisement

Table of Contents
loading

Table of Contents