==> Regarding RE: [autofs] auotfs/NFS Issue with WAN mounted filesystem?; 
Jeffery Malloch <[EMAIL PROTECTED]> adds:

jmall> -----Original Message----- From: Jeff Moyer
jmall> [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 23, 2005 11:30
jmall> AM To: Ian Kent Cc: Jeffery Malloch; '[email protected]';
jmall> Kevork Kechichian; Michael Gallant Subject: RE: [autofs] auotfs/NFS
jmall> Issue with WAN mounted filesystem?

==> Regarding RE: [autofs] auotfs/NFS Issue with WAN mounted filesystem?;
jmall> Ian Kent <[EMAIL PROTECTED]> adds:

raven> On Tue, 22 Feb 2005, Jeffery Malloch wrote:
>>> Hi Ian,
>>> 
>>> Sorry it's been such a long time but I thought I had gotten my issue
>>> down to an issue with IBM Clearcase and their "mvfs" implementation.
>>> But as it happens, I believe there still to be issues with autofs in
>>> RedHat WS3 U3.  I am currently using autofs-4.1.3-47.  I have been
>>> running many automounts on the linux systems in debug mode for some
>>> time.  But here's what I have to give you for now:
>>> 
>>> Feb 21 23:44:33 lserver-11 automount[15042]: rm_unwanted:
>>> /lsi/vp/bed_shared Feb 21 23:44:33 lserver-11 automount[15042]: expired
>>> /lsi/vp/bed_shared Feb 21 23:44:38 lserver-11 automount[1700]:
>>> attempting to mount entry /lsi/vp/bed_shared Feb 22 00:16:51 lserver-11
>>> automount[19628]: BUG: /lsi/vp/bed_shared already mounted
>>> 

raven> This is usually due to mtab corruption caused by broken file locking
raven> in mount and autofs.

raven> What is the state of mtab when this happens.

jmall> Actually, please include the state of /proc/mounts, too, so we can
jmall> verify whether there is corruption.  One without the other is pretty
jmall> much useless.

jmall> -Jeff

jmall> 
----------------------------------------------------------------------------

jmall> Hi Guys,

jmall> I have a machine that went into this state again...  Here's a list
jmall> of what I see:

jmall> - I can look at the /proc/mounts and /etc/mtab without issue so they
jmall> don't appear corrupted in any way - the automounted filesystems that
jmall> are hanging appear in the /etc/mtab file but not in the /proc/mounts
jmall> - all automount maps now have 3 processes associated with them - I
jmall> can identify that at the same moment a new automount process was
jmall> being started an unmount was running like this:

jmall> root 3773 1584 0 10:59 ?  00:00:00 /usr/sbin/automount --timeout=60
jmall> /lsi/soft yp auto_lsi_soft rw,intr,noatime root 3774 1584 0 10:59 ?
jmall> 00:00:00 /usr/sbin/automount --timeout=60 /lsi/soft yp auto_lsi_soft
jmall> rw,intr,noatime root 3775 3774 0 10:59 ?  00:00:00 /bin/umount
jmall> //lsi/soft/emt root 3780 1717 0 10:59 ?  00:00:00
jmall> /usr/sbin/automount --timeout=60 /tools yp auto_tools
jmall> rw,soft,intr,noatime root 3781 1717 0 10:59 ?  00:00:00
jmall> /usr/sbin/automount --timeout=60 /tools yp auto_tools
jmall> rw,soft,intr,noatime root 3785 3781 0 10:59 ?  00:00:00 /bin/umount
jmall> //tools/emt

jmall> The new automount maps always appear to start before the umount
jmall> command in pairs.

jmall> - the load on the machine is growing but all usage is in CPU I/O
jmall> wait

jmall> If you would like more data, I will leave this system in this state
jmall> for today.  Your input is greatly appreciated.

If you need a quick workaround, then you could make /etc/mtab a symbolic
link to /proc/mounts.  I can't say that I recommend doing this, but it
should work okay.  (I think anaconda or kudzu might take issue which this
setup, but I don't remember for sure).

-Jeff

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

Reply via email to