Next Previous Contents

3. Automounter

Please note there are lots of discussions and documentation about automounters on the various linux resources.

Some of the text in this section has been plagerized from the NET-2-HOWTO maintained by Terry Dawson, terry@perf.no.itg.telecom.com.au

As a beginner, I found it difficult to find the information I needed to setup the amd and autofs automounters. I hope that the examples in this document will help you configure your network with the autofs automounter.

An automounter provides a convenient means of mounting filesystems on demand, i.e. when required by the system or the user. This will reduce the load on both the server and the client and provides a great deal of flexibility even for local server and it's filesystems.

An automounter provides 4 key features:

3.1 What Automounter Allows You To Do

-- is this a supported feature --

A rather useful mount called the union mount gives the automounter the ability to merge the contents of multiple directories into a single directory.

3.2 Some automounting tips excerpted from NET-2-HOWTO

Automounters use "maps" which define the filesystem to mount. different automounters maps are not compatabible with each other, eg: amd maps are not compatible with Sun maps, which in turn are not compatible with HP maps ad infinitum.

Sun automount maps can be converted to amd style maps by using the perl script in the contrib directory

automount2amd.pl
which can be found at in the amd-920824upl102-8/contrib

ypcat -k auto.nfs | automount2amd.pl >/etc/auto.Linux

-- check /etc/nsswitch.conf  also -- note for me...

You must have the portmapper running before starting the automounter

UFS mounts, in the case of Linux only, do not timeout. UFS mounts have been extended to deal with all varieties of linux filesystems (i.e. minix, ext, ext2, xiafs ...) with the default being minix. <<--- ???

Do not mount the filesystem over existing local directories unless you use a direct automount option, otherwise you will NOT be able to access the contents of your local directory. Typical examples are /home, /var/spool/mail, /usr/local, etc

Always turn on full logging with the `-x all' option to amd if you have any troubles

/usr/sbin/amd -x all -l syslog -a /amd -- /net /etc/amd.net

"amq -ms"  reports, as it will indicate problems as they occur

You do not configure the automounter from the /etc/fstab file, which you will already be using to contain information about your filesystems, instead it is command line driven.


Next Previous Contents