autofs 4.1.2 on kernel 2.4.26
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 25 lines
------------------------------
Message: 2
Date: Mon, 10 May 2004 23:02:58 +0800 (WST)
From: [email protected]
Subject: Re: [autofs] automount doesn't expire nested nfs mounts for
certain kernel configs
To: Joseph Mack NA3T <[email protected]>
Cc: [email protected]
Message-ID: <[email protected]>
Content-Type: TEXT/PLAIN; charset=US-ASCIIQuoted 8 lines · On Mon, 10 May 2004, Joseph Mack NA3T wrote:
Quoted 4 lines · On Mon, 10 May 2004 [email protected] wrote:
You might like to apply the 4.1.2 patches at the same location you got the tar.
Quoted 10 lines
Quoted 3 lines
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.
_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs
autofs-4.1 slow to mount
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
Signature · 4 lines
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!
Re: autofs-4.1 slow to mount
==> Regarding [autofs] autofs-4.1 slow to mount; Joseph Mack NA3T <[email protected]> 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
modules/mount_ext2.c renamed from modules/mount_ext2.c.ext2 +2 -2
@@ -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 ) {
[email protected]
maintainerRe: autofs-4.1 slow to mount
Quoted 8 lines · Jeff Moyer
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.
Quoted 6 lines
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
[email protected]
maintainerRe: autofs-4.1 slow to mount
In reply to Joseph Mack NA3TQuoted 11 lines · 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?
Quoted 5 lines
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
Re: autofs-4.1 slow to mount
Quoted 2 lines · On Thu, 13 May 2004 [email protected] wrote:
Are you using the latest replicated server fixes patch? This aounds like a problem that should have been fixed.
will go try them
Quoted 1 line
What does your map entry look like please?
auto.master
/removable /etc/auto.removable
auto.removable
zip -fstype=ext3 :/dev/zip
Quoted 4 lines
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.
Quoted 1 line
I'll see what I can find. I wonder what e2fsck is returning????
running e2fsck 1.32
Thanks
Joe
Signature · 4 lines
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!
Ian Kent
maintainerRe: autofs-4.1 slow to mount
Quoted 12 lines · On Thu, 13 May 2004, Joseph Mack NA3T wrote:
Quoted 2 lines
What does your map entry look like please?
auto.master
/removable
/etc/auto.removableauto.removable
zip -fstype=ext3 :/dev/zip
OK I'll test out a similar format and see what I can come up with.
Quoted 11 lines
Quoted 4 lines
Mmm. That's not good.
Do you get a message like
mouny(ext2) /path/to/mount : filesystem needs repair, won't mountah yes. I found it in syslog, I was looking at debug and messages and didn't see it.
Quoted 1 line
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