Skip to contentSkip to conversation

mtab and procs not in sync?

DISCUSSION Phy Prabab 2 participants 2 messages Jun 8, 2004 – Jun 9, 2004

Subsystems (2)
lore
Share & tools
lore

Phy Prabab

author
#0 lore raw

Hello,

Have run into a situation where mtab does not match /proc/mounts in that mtab has numerous entries that have expired off and removed, yet does not show that it has been removed from mtab. Is this known and is there a fix?

Kernel 2.4.21 and 23
nfs-utils 1.06
automount 4.1.2

Thanks!
Phy

__________________________________
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/

-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

#1 lore raw
Quoted 7 lines · Phy Prabab

Hello,

Have run into a situation where mtab does not match /proc/mounts in that mtab has numerous entries that have expired off and removed, yet does not show that it has been removed from mtab. Is this known and is there a fix?

This is not an NFS, kernel or automount issue.

The locking in mount appears to be broken. It usually shows up with autofs because it put quite a bit of pressure on mount.

But what is your environment?
I need more info. to understand this.
What 4.1.2 patches, if any, have you applied?

Quoted 4 lines

Kernel 2.4.21 and 23
nfs-utils 1.06
automount 4.1.2

I've tried to work around this problem and I discovered a coding error with that work the other day. I have a patch available at

http://www.kernel.org/pub/linux/daemons/autofs/v4

called

autofs-4.1.3-mtab_lock.patch

It is against 4.1.3 but should apply OK to 4.1.2.

This problem probably belongs on the autofs list. You can subscribe at
http://linux.kernel.org/mailman/listinfo/autofs

Ian

-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs