H. Peter Anvin wrote:

> Steve Mcclure wrote:
> > 
> > (I sent this so the NFS lists too since it's an autofs/NFS
> > specific interaction that I'm having.)
> > 
> > I remember mention of a VFS layer bug which affects autofs (among
> > other things) in kernel versions 2.2.x and 2.3.x, and which had
> > been fixed in the 2.3.x kernels (somewhere around 2.3.14 or 2.3.16
> > or so) and that it would possibly be backported to 2.2.x.
> > 
> > Since I believe that I'm being bitten by this bug (which I'll
> > describe below) I was wondering if there was any word of the
> > status of the VFS fix for 2.2.x kernels? (Since I require a 2.2.x
> > kernel, it would be nice for it to not hang on me when my network
> > goes belly up for a few seconds at a critical time. :) )
> >  
> > The bug I see is that autofs will hang and require a reboot of the
> > client if the client receives RPC timeouts or the NFS server not
> > responding during the automount of an NFS filesystem. There was a
> > patch out there that was an improper workaround (which could cause
> > other problems) for the VFS bug, and applying that patch "kinda"
> > fixes this specific problem - the client no longer requires a
> > reboot, but you need to stop the user level automouters, unmount
> > all automounted stuff by hand and restart the automounters, and
> > then everything is fine again (until it happens again.)
> > 
> > Thanks!
> > 
> > -- Steve McClure
> > [EMAIL PROTECTED]

> I have asked Linus to forward this fix to Alan. I don't know if he
> has, yet.

> Be careful with the "patch" - it may cause silent data corruption, I
> believe.

Has anything come of this?

I get bitten by this problem regularly. Whenever one of our machines
which has an automounted home directory on it is powered down for any
length of time this happens to me. The automounter is trying to mount
the home directory for sendmail/procmail and it eventually gets RPC
timeouts and I end up with more than one automount program running on
the same mount point!! This is really a major problem. I should be
able to power down a machine without it messing up the main server and
it needing a reboot.

TIA.

Yours desperately,
Simon

-----------------------------------------------------------------------
| Simon Liddington                   | Tel (home) : 01703 237935      |
| E-Mail : [EMAIL PROTECTED]            | Tel (work) : 01420 544952      |
-----------------------------------------------------------------------

Reply via email to