amd (am-utils, automounter) -- need help

amd (am-utils, automounter) -- need help

Post by Christoph Kukulie » Sun, 31 Dec 1899 09:00:00

I need help in an amd/NIS configuration:


 users defined only on server and distributed to clients via NIS.

 acx01  /home filesystem with user home directories (~200) named
        /home/a101 /home/a102 /home/a103 etc...



I want to have all user directories automounted when users log into
the clients (and server as well of course).

I want to have a map

[ home ]
map_name = amd.home

My questions/assumptions:

I assume amd must run on every computer in the network.

NFS server has to run on server and /etc/exports must export /home on
server to the clients.

/etc/amd.conf on server should contain map_type=file


/etc/amd.conf on clients should contain map_type=nis

How does amd.home have to look like on server and clients?

(it's Redhat Linux 6.1 FWIW).



1. am-util ( automounter ) help needed

The system is RedHat 5.2 ( 2.0.36 kernel with autofs enabled ), Intel.
It contains am-utils-6.0a16-4 rpm ( and portmap-4.0-12 ).
After reading the /usr/doc/am-utils-6.0/ I think I need a kick
in order to be able to use it.
I would like to achieve the following :
        /dev/fd0 auto-mounts as /mnt/floppyA
        /dev/cdrom auto-mounts as /mnt/cdrom
In both cases with 10 seconds time to "auto-dismount" ( so that the user
can put a floppy or cd into the appropriate drive, "play" with it, and
then remove it ).
In case of /dev/fd0, I would like to mount it as "auto" ( it may be ext2,
or msdos, ro ... floppy inserted ), and I would like to give "any" user
"rw" privileges.
The current /etc/amd.conf ( as delivered with am-utils-6.0a16-4 ) is :
/defaults fs:=${autodir}/${rhost}/root/${rfs};opts:=nosuid,nodev
*       rhost:=${key};type:=host;rfs:=/
which I think is not needed.
Could someone, please give me an example /etc/amd.conf which does what I
need ( up to now I've been using an autofs-3.1.1-4 rpm, but now I would
like to switch to amd, unfortunately I think I need a kick ... ).
Thanks in advance,

2. Specifications & info abt. Texture Memory for Powerstorm 4D40T?

3. Help: Installing amd (am-utils v6.0) on 4.3.2

4. Rat-Skink, rapskat, whatever your name is--> Put up or Shut up Time..... Is this Ratskunk for real?

5. am-utils (amd) & smbfs (smbmount) -- automount frustation

6. automounting http-space as part of fs (in kernel)?

7. : i need help by amd[automounter]

8. grepping for pattern, and then deleting ALL the following lines after the pattern

9. : i need help by amd [automounter]

10. RH5.2, am-utils, how to automount cdrom, pcfs floppy, samba smb volume

11. autofs or am-utils, which one?

12. am-utils

13. 2.2.19 borks am-utils building :-(