It is currently Thu, 20 Sep 2018 02:42:22 GMT



 
Author Message
 automount docs
Anyone who wants the latest docs for the latest automounter,
send me mail at c...@aixwiz.austin.ibm.com and I'll attempt to email
them to you (U404456 is the latest automount for 3.2).

They are not shipped with the PTF unfortunately.

A mass clamor will result in them being posted here

c...@aixwiz.austin.ibm.com (Curt L. Finch) | AIX NFS/NIS Field Quality
My views are unrelated to those of IBM     |       Austin, TX
 Lead_or_Leave's objective is to get all Congressmen to sign a pledge that if
   the Deficit has not halved before their term's end, they will step down.



 Mon, 30 Jan 1995 05:07:05 GMT   
 automount docs

Geez, I think got enough msgs to qualify for mass clamor status.

If you have suggestions or find bugs in the docs let me know and
I'll try to get it fixed.  With bugs in the code you have to call
defect support and open a PMR/APAR.

_____________________________________________________________________

automount Daemon

Purpose

Mounts NFS file systems automatically.

 Syntax

/usr/sbin/automount  [  -m  -n  -T  -v  ] [  -D  name=value ] [   -f
MasterFile  ] [  -M  MountDirectory ] [  -tl  Duration ] [   -tm
Interval ] [   -tw Interval ] Directory ... MapName ...   [
-MountOption [  ,MountOption ] ... ]

Description

The automount  daemon automatically and transparently mounts an NFS
file system whenever a file or directory in that file system is
opened.  The automount daemon forks a child process daemon, which
appears as an NFS server to the client.  The forked daemon monitors
attempts to access file systems that are associated with an automount
map.  When a file is accessed, the daemon mounts the appropriate NFS
directory.  A map is assigned to a directory either by using an entry
in a direct automount map, or by specifying an indirect map on the
command line.

Maps

The automount  daemon uses maps to locate an appropriate NFS file
server and exported file system, and to determine mount options.  The
daemon mounts the file system in a temporary location, creating a
symbolic link to the temporary location.  If the file system is not
accessed within a given interval (five minutes, by default), the daemon
unmounts the file system and removes the symbolic link.  If the
indicated directory has not already been created, the daemon first
creates it, then removes the directory upon exiting.

A map can be a file or a Network Information Service (NIS ) map.  If a
file is supplied, the map argument must be a full path name.

If the directory argument supplied to the automount daemon is a path
name, the map argument must be an indirect map.  In an indirect map,
the key for each entry is a simple name that represents a symbolic link
in a directory to an NFS mount point.

If the directory argument is /- (slash, minus), the map that follows
must be a direct map.  A direct map is not associated with a single
directory.  Instead, the key for each entry is a full path name that
serves as a symbolic link to an NFS mount point.

Updates to an automount map are transparent to the users because
name-to-location binding is dynamic.  This process eliminates the need
to pre-mount shared file systems for applications containing hard-coded
references to files.

See   "How to Manage NIS automount Maps" for more information about
formatting map entries, multiple mounts, special maps, and the
auto.master NIS configuration map file.

Mounts

Warning: Do not terminate the automount daemon with the kill -9
command.  This procedure does not permit the daemon to unmount itself,
which causes the kernel to interpret automount mounts as an NFS server
that is not responding.  Terminate automount services by sending the
kill -15 command to the daemon.  This method allows the automounter to
first receive the signal, then unmount its daemon and evaluate any
mount points in the /tmp_mnt file.  Mounts in the /tmp_mnt file that
are busy will not be unmounted.

The -MountOptions argument is a list of mount options.  The list is
preceded by a - (minus sign), and each option is separated by a comma.
If this argument is supplied, the options usually become the default
mount options for all entries in the map.

Notes:

1. Mount options provided in a map entry override the -MountOptions
argument.

2. The   mount command's bg background mount option is not recognized
by the automount daemon.

The automount  daemon is single-threaded.  Any request delayed by a
slow or unresponsive NFS server delays all subsequent automatic mount
requests until the initial request completes.  Programs that read the
/etc/mtab file and then touch files that reside under automatic mount
points introduce further entries to the file.  Automatically mounted
file systems are mounted with the mount command's -t  type option set
equal to ignore.  These file systems do not appear in the output of
either the mount command or the   df command.

Environment Variables

Environment variables, specific only to the automount daemon, can be
used in an automount map.  When the daemon encounters an automount
variable, the environment expands to account for the new variable.
Environment variables are valid only for the automounter's environment,
not for the operating system's environment.

References can be protected from affixed characters by enclosing the
variable name in { } (curly braces).

Note: Some NFS servers support mount options not supported by the AIX:
grpid, noauto , remount, quota, noquota, posix, nocto, and noac. By
default, the AIX version of the automount  daemon ignores these listed
options.  To reverse the effect of this default, use the
AUTOMOUNT_BAD_OPTS  shell environment variable.

Configuration

The automount daemon normally consults the auto.master  NIS
configuration map for a list of initial Directory-to-MapName pairs, and
sets up automatic mounts for them in addition to those given on the
command line.  If there are duplications, the command-line parameters
take precedence.

Note: This map contains the automount daemon parameter.  The automount
daemon does not look for an auto.master file on the local host.

See   "How to Manage NIS automount Maps" for more information about
configuring the auto.master NIS map file.

Flags

-Denvar =value Assigns a value to the indicated automount command
environment variable.

-f MasterFile Reads the named local file, rather than the auto.master
NIS map file, for initialization.

-m  Suppresses initialization of directory-mapname pairs listed in the
auto.master NIS database.

The automount  daemon is single-threaded.  Any request delayed by a
slow or unresponsive NFS server delays all subsequent automatic mount
requests until the initial request completes.  Programs that read the
/etc/mtab file and then touch files that reside under automatic mount
points introduce further entries to the file.  Automatically mounted
file systems are mounted with the mount command's -t  type option set
equal to ignore.  These file systems do not appear in the output of
either the mount command or the   df command.

Environment Variables

Environment variables, specific only to the automount daemon, can be
used in an automount map.  When the daemon encounters an automount
variable, the environment expands to account for the new variable.
Environment variables are valid only for the automounter's environment,
not for the operating system's environment.

References can be protected from affixed characters by enclosing the
variable name in { } (curly braces).

Note: Some NFS servers support mount options not supported by the AIX:
grpid, noauto , remount, quota, noquota, posix, nocto, and noac. By
default, the AIX version of the automount  daemon ignores these listed
options.  To reverse the effect of this default, use the
AUTOMOUNT_BAD_OPTS  shell environment variable.

Configuration

The automount daemon normally consults the auto.master  NIS
configuration map for a list of initial Directory-to-MapName pairs, and
sets up automatic mounts for them in addition to those given on the
command line.  If there are duplications, the command-line parameters
take precedence.

Note: This map contains the automount daemon parameter.  The automount
daemon does not look for an auto.master file on the local host.

See   "How to Manage NIS automount Maps" for more information about
configuring the auto.master NIS map file.

Flags

-Denvar =value Assigns a value to the indicated automount command
environment variable.

-f MasterFile Reads the named local file, rather than the auto.master
NIS map file, for initialization.

-m  Suppresses initialization of directory-mapname pairs listed in the
auto.master NIS database.

________________________________________________________________________

How to Manage NIS automount Maps

Prerequisite Tasks or Conditions

1. NFS must be installed on your system.

2. TCP/IP must be running.

3. The master server and slave servers must be configured.

Procedure

1. Edit the /etc/auto.master file.  The   automount daemon, by default,
reads the NIS /etc/auto.master map to find which directories to watch
for mounts.  The auto.master  map has the following format:

DirectoryPath     AutomountMapName

The AutomountMapName  filed specifies a file containing the automount
map for the directory specified by the DirectoryPath field.  For
example, the contents of the /etc/auto.master file on the NIS server
might be as follows:

/home/home     /etc/auto.home /usr/lpp       /etc/auto.direct

The above auto.master  file entries will direct the automount  daemon
to use the /etc/auto.home automount map for the /home/home  directory
and the /etc/auto.direct automount map for the /usr/lpp  directory.

2. Create the AutomountMapName files.  The AutomountMapName files have
the following format:

Subdirectory   MountOptions   ServerName:ServerDirectory

The Subdirectory  field specifies a subdirectory of the DirectoryPath
field directory of the auto.master file.  For example, the contents of
the /etc/auto.home file on the NIS client might be as follows:

john  -rw,hard,intr host1:/home/john bill  -rw,hard,intr
host3:/home/bill sally  -rw,hard,intr host5:/home/sally fred
-rw,hard,intr host9:/home/fred jane  -rw,hard,intr host1:/home/jane

The contents of the /etc/auto.direct file on the NIS client might be as
follows:

X11 -ro,hard,intr lppserver:/usr/lpp/X11 bsmEn_US -ro,hard,intr
lppserver:/usr/lpp/bsmEn_US gnuemacs -ro,hard,intr
lppserver:/usr/lpp/gnuemacs info -ro,hard,intr lppserver:/usr/lpp/info

3. Update the /var/yp/Makefile file.  The following must be added to
the Makefile file:

z Add ...

read more »



 Tue, 31 Jan 1995 21:38:48 GMT   
 
   [ 2 post ] 

Similar Threads

1. looking for howto or any help docs on Automount

2. TCP/IP Docs and Utils, ELM Docs, WERER ???

3. automount reading sun's automount file or NIS map

4. automount needs automount?

5. HELP! w/ automount or amd: how to automount "directly"?

6. Where's software RAID docs?

7. SuSE 7.1 kernel compile docs incomplete?

8. .XML docs, need to print them.

9. Please help me find medium level docs


 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software