Hi,

I have the following setup:

# auto.master file
/net    /etc/autofs.d/net       --timeout 60

# autofs.d/net file
*       -fstype=autofs     file:/etc/autofs.d/net.&

and autofs.d/net.hostname files for each host like this:

# autofs.d/net.faraday file
*       faraday:/&
home    faraday:/mnt/home

This works fine except where the host being automounted is the local
machine. The local machine mounts produce symlinks in /net/faraday as
expected and all works ok but then suddenly the symlinks disappear and
are not regenerated. /net/faraday is still there and I think the mount
point and automount process are still there like this (but I'll have
to check next time it goes wrong):

root@faraday# mount
/dev/hda1 on / type ext2 (rw)
...
automount(pid10135) on /net type autofs (rw,fd=5,pgrp=10135,minproto=2,maxproto=3)
automount(pid9070) on /net/faraday type autofs 
(rw,fd=5,pgrp=10135,minproto=2,maxproto=3)
root@faraday# /etc/rc.d/init.d/autofs status
Configured Mount Points:
/usr/sbin/automount --timeout 60 /net file /etc/autofs.d/net  

Active Mount Points:
/usr/sbin/automount --timeout 60 /net file /etc/autof
/usr/sbin/automount --submount /net/faraday file /etc

The only way to fix it seems to be to restart the automounter
completely. Killing the submount process doesn't work.

This is on a stock RedHat6.0 machine running autofs 3.1.3

Anyone have any ideas.
TIA, Simon

-- 
-----------------------------------------------------------------------
| Simon Liddington                 |                                  |
| E-Mail : [EMAIL PROTECTED]  |  Tel (work) : +44 (0)1703 592422 |
-----------------------------------------------------------------------

Reply via email to