* autofs 4.1.2 on kernel 2.4.26
[not found] <200405101900.i4AJ09pH031586@hera.kernel.org>
@ 2004-05-11 12:51 ` Aaron Ogden
2004-05-13 14:09 ` autofs-4.1 slow to mount Joseph Mack NA3T
0 siblings, 1 reply; 7+ messages in thread
From: Aaron Ogden @ 2004-05-11 12:51 UTC (permalink / raw)
To: autofs, raven
[-- Attachment #1.1: Type: text/plain, Size: 904 bytes --]
>------------------------------
>
>Message: 2
>Date: Mon, 10 May 2004 23:02:58 +0800 (WST)
>From: raven@themaw.net
>Subject: Re: [autofs] automount doesn't expire nested nfs mounts for
> certain kernel configs
>To: Joseph Mack NA3T <jmack@wm7d.net>
>Cc: autofs@linux.kernel.org
>Message-ID: <Pine.LNX.4.58.0405102301540.28439@donald.themaw.net>
>Content-Type: TEXT/PLAIN; charset=US-ASCII
>
>On Mon, 10 May 2004, Joseph Mack NA3T wrote:
>
>
>
>>On Mon, 10 May 2004 raven@themaw.net wrote:
>>
>>
>>
>>>You might like to apply the 4.1.2 patches at the same location you got the
>>>tar.
>>>
>>>
>>are the 2.4.22 patches OK if I'm using 2.4.26?
>>
>>
>
>Haven't checked 2.4.26.
>Would like to hear if it applies cleanly.
>
>Ian
>
>
Yes it is working great over here. I am running 2.4.26 + trond's
NFS_ALL + autofs4-20040417.
When I applied the patches there were no offsets or errors.
[-- Attachment #1.2: Type: text/html, Size: 1815 bytes --]
[-- Attachment #2: Type: text/plain, Size: 140 bytes --]
_______________________________________________
autofs mailing list
autofs@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/autofs
^ permalink raw reply [flat|nested] 7+ messages in thread
* autofs-4.1 slow to mount
2004-05-11 12:51 ` autofs 4.1.2 on kernel 2.4.26 Aaron Ogden
@ 2004-05-13 14:09 ` Joseph Mack NA3T
2004-05-13 14:30 ` Jeff Moyer
2004-05-13 15:00 ` raven
0 siblings, 2 replies; 7+ messages in thread
From: Joseph Mack NA3T @ 2004-05-13 14:09 UTC (permalink / raw)
To: autofs
Linux-2.4.26, autofs4 as module, libc-2.3.2
mounting zip disk by autofs
with automount-4.0.0pre10, the disk mounts in 1sec
(interval between "attempting to mount entry /removable/zip"
and "kernel: kjournald starting. Commit interval 5 seconds"
messages)
with automount-4.1.2 the same interval is 11 secs.
on another similar machine, automount-4.1.2 won't mount
the zip disk, giving "e2fsck: need terminal for interactive repairs".
Running fsck from the command line shows a clean zip disk.
automount-4.0.0pre10 mounts zip disk OK.
Thanks Joe
--
Joseph Mack NA3T EME(B,D), FM05lw North Carolina
jmack (at) wm7d (dot) net - azimuthal equidistant map
generator at http://www.wm7d.net/azproj.shtml
Homepage http://www.austintek.com/ It's GNU/Linux!
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: autofs-4.1 slow to mount
2004-05-13 14:09 ` autofs-4.1 slow to mount Joseph Mack NA3T
@ 2004-05-13 14:30 ` Jeff Moyer
2004-05-13 15:02 ` raven
2004-05-13 15:00 ` raven
1 sibling, 1 reply; 7+ messages in thread
From: Jeff Moyer @ 2004-05-13 14:30 UTC (permalink / raw)
To: Joseph Mack NA3T; +Cc: autofs
==> Regarding [autofs] autofs-4.1 slow to mount; Joseph Mack NA3T <jmack@wm7d.net> adds:
jmack> Linux-2.4.26, autofs4 as module, libc-2.3.2 mounting zip disk by
jmack> autofs
jmack> with automount-4.0.0pre10, the disk mounts in 1sec
jmack> (interval between "attempting to mount entry /removable/zip" and
jmack> "kernel: kjournald starting. Commit interval 5 seconds" messages)
jmack> with automount-4.1.2 the same interval is 11 secs.
Not sure what the issue here is. Trying with my latest rpm would provide a
useful data point. See below.
jmack> on another similar machine, automount-4.1.2 won't mount the zip
jmack> disk, giving "e2fsck: need terminal for interactive repairs".
jmack> Running fsck from the command line shows a clean zip disk.
jmack> automount-4.0.0pre10 mounts zip disk OK.
Hmm. This second issue sounds like the spawnl issue discovered a little
while back. Could you try the autofs package from my people page:
http://people.redhat.com/~jmoyer/
Or, you could try the attached patch.
Thanks!
Jeff
--- autofs-4.1.2/modules/mount_ext2.c.ext2 2004-01-29 17:01:22.000000000 +0100
+++ autofs-4.1.2/modules/mount_ext2.c 2004-04-20 14:57:00.524935974 +0200
@@ -87,10 +87,10 @@
#endif
if (ro) {
debug(MODPREFIX "calling %s -n %s", fsck_prog, what);
- err = spawnl(LOG_DEBUG, fsck_prog, fsck_prog, "-n", what, NULL);
+ err = spawnl(LOG_DEBUG, MOUNTED_LOCK, fsck_prog, fsck_prog, "-n", what, NULL);
} else {
debug(MODPREFIX "calling %s -p %s", fsck_prog, what);
- err = spawnl(LOG_DEBUG, fsck_prog, fsck_prog, "-p", what, NULL);
+ err = spawnl(LOG_DEBUG, MOUNTED_LOCK, fsck_prog, fsck_prog, "-p", what, NULL);
}
if (err & ~6) {
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: autofs-4.1 slow to mount
2004-05-13 14:09 ` autofs-4.1 slow to mount Joseph Mack NA3T
2004-05-13 14:30 ` Jeff Moyer
@ 2004-05-13 15:00 ` raven
2004-05-13 15:38 ` Joseph Mack NA3T
1 sibling, 1 reply; 7+ messages in thread
From: raven @ 2004-05-13 15:00 UTC (permalink / raw)
To: Joseph Mack NA3T; +Cc: autofs mailing list
On Thu, 13 May 2004, Joseph Mack NA3T wrote:
> Linux-2.4.26, autofs4 as module, libc-2.3.2
>
> mounting zip disk by autofs
>
> with automount-4.0.0pre10, the disk mounts in 1sec
>
> (interval between "attempting to mount entry /removable/zip"
> and "kernel: kjournald starting. Commit interval 5 seconds"
> messages)
>
> with automount-4.1.2 the same interval is 11 secs.
Are you using the latest replicated server fixes patch?
This aounds like a problem that should have been fixed.
What does your map entry look like please?
>
> on another similar machine, automount-4.1.2 won't mount
> the zip disk, giving "e2fsck: need terminal for interactive repairs".
> Running fsck from the command line shows a clean zip disk.
> automount-4.0.0pre10 mounts zip disk OK.
Mmm. That's not good.
Do you get a message like
mouny(ext2) /path/to/mount : filesystem needs repair, won't mount
I'll see what I can find. I wonder what e2fsck is returning????
Ian
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: autofs-4.1 slow to mount
2004-05-13 14:30 ` Jeff Moyer
@ 2004-05-13 15:02 ` raven
0 siblings, 0 replies; 7+ messages in thread
From: raven @ 2004-05-13 15:02 UTC (permalink / raw)
To: Jeff Moyer; +Cc: autofs
On Thu, 13 May 2004, Jeff Moyer wrote:
> Not sure what the issue here is. Trying with my latest rpm would provide a
> useful data point. See below.
>
> jmack> on another similar machine, automount-4.1.2 won't mount the zip
> jmack> disk, giving "e2fsck: need terminal for interactive repairs".
> jmack> Running fsck from the command line shows a clean zip disk.
> jmack> automount-4.0.0pre10 mounts zip disk OK.
>
> Hmm. This second issue sounds like the spawnl issue discovered a little
> while back. Could you try the autofs package from my people page:
>
> http://people.redhat.com/~jmoyer/
>
> Or, you could try the attached patch.
Ahh Yes. Thanks Jeff. That sounds like it.
Ian
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: autofs-4.1 slow to mount
2004-05-13 15:00 ` raven
@ 2004-05-13 15:38 ` Joseph Mack NA3T
2004-05-14 1:37 ` Ian Kent
0 siblings, 1 reply; 7+ messages in thread
From: Joseph Mack NA3T @ 2004-05-13 15:38 UTC (permalink / raw)
To: raven; +Cc: autofs mailing list
On Thu, 13 May 2004 raven@themaw.net wrote:
> Are you using the latest replicated server fixes patch?
> This aounds like a problem that should have been fixed.
will go try them
> What does your map entry look like please?
auto.master
/removable /etc/auto.removable
auto.removable
zip -fstype=ext3 :/dev/zip
> Mmm. That's not good.
>
> Do you get a message like
> mouny(ext2) /path/to/mount : filesystem needs repair, won't mount
ah yes. I found it in syslog, I was looking at debug and messages and
didn't see it.
> I'll see what I can find. I wonder what e2fsck is returning????
running e2fsck 1.32
Thanks
Joe
--
Joseph Mack NA3T EME(B,D), FM05lw North Carolina
jmack (at) wm7d (dot) net - azimuthal equidistant map
generator at http://www.wm7d.net/azproj.shtml
Homepage http://www.austintek.com/ It's GNU/Linux!
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: autofs-4.1 slow to mount
2004-05-13 15:38 ` Joseph Mack NA3T
@ 2004-05-14 1:37 ` Ian Kent
0 siblings, 0 replies; 7+ messages in thread
From: Ian Kent @ 2004-05-14 1:37 UTC (permalink / raw)
To: Joseph Mack NA3T; +Cc: autofs mailing list
On Thu, 13 May 2004, Joseph Mack NA3T wrote:
>
> > What does your map entry look like please?
>
> auto.master
>
> /removable /etc/auto.removable
>
> auto.removable
>
> zip -fstype=ext3 :/dev/zip
>
>
OK I'll test out a similar format and see what I can come up with.
> > Mmm. That's not good.
> >
> > Do you get a message like
> > mouny(ext2) /path/to/mount : filesystem needs repair, won't mount
>
> ah yes. I found it in syslog, I was looking at debug and messages and
> didn't see it.
>
> > I'll see what I can find. I wonder what e2fsck is returning????
>
> running e2fsck 1.32
I'd like to know if you still get this message after doing what Jeff
recommended.
Ian
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2004-05-14 1:37 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <200405101900.i4AJ09pH031586@hera.kernel.org>
2004-05-11 12:51 ` autofs 4.1.2 on kernel 2.4.26 Aaron Ogden
2004-05-13 14:09 ` autofs-4.1 slow to mount Joseph Mack NA3T
2004-05-13 14:30 ` Jeff Moyer
2004-05-13 15:02 ` raven
2004-05-13 15:00 ` raven
2004-05-13 15:38 ` Joseph Mack NA3T
2004-05-14 1:37 ` Ian Kent
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.