ITEM: AF1368L
How to configure automount
Question:
Customer is attempting to automount a file system from
his 3.2.5 workstation to his 3.2.4 file server. Customer
would like assistance in stepping through this procedure.
Response:
E: MARS (server) -------------- POWERPC (client)
/john/nguyen /eric/mcmillan
/etc/exports /etc/auto.map
I. Indirect automount:
----------------------
On the server (MARS):
=====================
1) Make sure that nfs daemons are running: 'lssrc -g nfs'
These nfs daemons can be started with 'startsrc -g nfs'
2) Make sure that portmap daemon is running: 'lssrc -s portmap'
Portmap daemon can be started with 'startsrc -s portmap'
3) Export file system(s): 'smitty mknfsexp'
Specify PATHNAME, MODE, and EXPORT options.
PATHNAME of directory to export [/john/nguyen] /
MODE to export directory read-write
HOSTNAME list. If exported read-mostly []
Anonymous UID [-2]
HOSTS allowed root access []
HOSTS & NETGROUPS allowed client access []
Use SECURE option? no
EXPORT directory now, system restart or both both
PATHNAME of Exports file if using HA-NFS []
On the client (POWERPC):
========================
1) Make sure that nfs daemons are running: 'lssrc -g nfs'
These nfs daemons can be started with 'startsrc -g nfs'
2) Make sure that server has exported file system(s):
'showmount -e mars'
3) Establish local mount point: 'mkdir /eric'
4) Create automount map: 'vi /etc/auto.map'
The contents should look like this:
mcmillan -rw mars:/john/nguyen
5) Start automount daemon: 'automount /eric /etc/auto.map'
6) To stop automount, kill the automount daemon. Do not use 'kill -9'.
II. Direct Automount:
---------------------
On the server (MARS):
=====================
1) Make sure that nfs daemons are running: 'lssrc -g nfs'
These nfs daemons can be started with 'startsrc -g nfs'
2) Make sure that portmap daemon is running: 'lssrc -s portmap'
Portmap daemon can be started with 'startsrc -s portmap'
3) Export file system(s): 'smitty mknfsexp'
Specify PATHNAME, MODE, and EXPORT options.
PATHNAME of directory to export [/john/nguyen] /
MODE to export directory read-write
HOSTNAME list. If exported read-mostly []
Anonymous UID [-2]
HOSTS allowed root access []
HOSTS & NETGROUPS allowed client access []
Use SECURE option? no
EXPORT directory now, system restart or both both
PATHNAME of Exports file if using HA-NFS []
On the client (POWERPC):
========================
1) Make sure that nfs daemons are running: 'lssrc -g nfs'
These daemons can be started with 'startsrc -g nfs'
2) Make sure that server has exported file system(s):
'showmount -e mars'
3) Establish local mount point: 'mkdir /eric/mcmillan'
4) Create automount map: 'vi /etc/auto.map'
The contents should look like this:
/eric/mcmillan -rw mars:/john/nguyen
5) Start automount daemon: 'automount /- /etc/auto.map'
6) To stop automount, kill the automount daemon. Do not use 'kill -9'.
Support Line: How to configure automount ITEM: AF1368L
Dated: January 1995 Category: N/A
This HTML file was generated 99/06/24~13:30:28
Comments or suggestions?
Contact us