This soft copy for use by IBM employees only.
# 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
Figure 94. Sample A m d Map File
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.
4. After creating a new A m d m a p file, use
dsh
to copy the file to each node.
Then run /etc/amd/amd_start -f to restart Amd. This makes it unnecessary
to reboot all the nodes that have the new map.
5. If one of the following error messages shown in Figure 95 is returned when
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
Figure 95. Error Messages When the Filesystem Is Not Exported
To correct this problem, add the filesystem to /etc/exports and run
exportfs
-a
on the server.
root@sp21n09 / > cd auto/one
root@sp21n09 /auto/one > ls -l
total 0
-rwxrwxrwx
1 root
system
0 May
9 10:04 a.1
-rwxrwxrwx
1 root
system
0 May
9 10:04 b.1
-rwxrwxrwx
1 root
system
0 May
9 10:04 c.1
Figure 96. Output after Exporting /tony o n the Control Workstation
Chapter 9. User and Services Management
223
Summary of Contents for RS/6000 SP
Page 2: ......
Page 14: ...This soft copy for use by IBM employees only xii SP PD Guide...
Page 16: ...This soft copy for use by IBM employees only xiv SP PD Guide...
Page 106: ...This soft copy for use by IBM employees only 86 SP PD Guide...
Page 178: ...This soft copy for use by IBM employees only 158 SP PD Guide...
Page 214: ...This soft copy for use by IBM employees only 194 SP PD Guide...
Page 248: ...This soft copy for use by IBM employees only 228 SP PD Guide...
Page 290: ...This soft copy for use by IBM employees only 270 SP PD Guide...
Page 292: ...This soft copy for use by IBM employees only 272 SP PD Guide...
Page 300: ...This soft copy for use by IBM employees only 280 SP PD Guide...
Page 304: ...This soft copy for use by IBM employees only 284 SP PD Guide...
Page 308: ...This soft copy for use by IBM employees only 288 SP PD Guide...
Page 310: ...This soft copy for use by IBM employees only 290 SP PD Guide...
Page 316: ...IBML This soft copy for use by IBM employees only Printed in U S A SG24 4778 00...