On Sun, 2008-03-23 at 22:31 -0700, Kamil Kisiel wrote:
> On Sun, Mar 23, 2008 at 10:24 PM, Ian Kent <[EMAIL PROTECTED]> wrote:
> >
> >  On Wed, 2008-03-19 at 22:15 -0700, Kamil Kisiel wrote:
> >  > I'm using autofs to mount some NFS shares, but occasionally some of
> >  > the machines on the network get their syslog filling up with errors
> >  > like this:
> >
> >  Version info, distribution and autofs?
> >
> >
> >
> >  >
> >  > Mar 19 21:11:05 <hostname> automount[6762]: expire_indirect: fstat
> >  > failed: Bad file descriptor
> >  > Mar 19 21:12:20 <hostname> automount[6762]: expire_indirect: fstat
> >  > failed: Bad file descriptor
> >  > Mar 19 21:13:35 <hostname> automount[6762]: expire_indirect: fstat
> >  > failed: Bad file descriptor
> >  >
> >  > Any suggestions as to why this might be, or steps to take to debug?
> >
> >
> 
> I'm using kernel 2.6.24 for x86_64 on an AMD 64 and autofs version
> 5.0.3. The distribution is Gentoo Linux. This behavior is not isolated
> to one machine, all of the machines running the same system image
> exhibit the same symptoms every now and then.

I've changed that message to debug logging in the latest revision.
I had a look around but couldn't find anything and so I didn't track it
down. So we can get expire requests for stale mounts now and again and,
as far as I can see, it's not otherwise a problem.

Looks like the Gentoo package is close to up to date wrt. 5.0.3.

The patches on kernel.org:
autofs-5.0.3-expire-works-too-hard-update.patch
autofs-5.0.3-expire-works-too-hard-update-2.patch

together change the log message from error to debug (the later reverts a
hunk of the first that was incorrect) since I still want to know how
often it happens when debugging.

Ian


_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to