From: "Lever, Charles" Subject: RE: mtab and procs not in sync? Date: Wed, 9 Jun 2004 06:58:57 -0700 Sender: nfs-admin@lists.sourceforge.net Message-ID: <482A3FA0050D21419C269D13989C61130435E230@lavender-fe.eng.netapp.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Cc: Return-path: Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list2.sourceforge.net with esmtp (Exim 4.30) id 1BY3bq-0003Nq-M1 for nfs@lists.sourceforge.net; Wed, 09 Jun 2004 06:59:18 -0700 Received: from mx01.netapp.com ([198.95.226.53]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BY3bq-0001VR-9o for nfs@lists.sourceforge.net; Wed, 09 Jun 2004 06:59:18 -0700 To: "James Pearson" Errors-To: nfs-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: Discussion of NFS under Linux development, interoperability, and testing. List-Post: List-Help: List-Subscribe: , List-Archive: as far as i can tell, the 4KB limit is common to x86 on 2.2 and 2.4. 2.6 has replaced the old /proc read method with seq_file, so i believe /proc/mounts on 2.6 kernels will not suffer from this problem. it's not a fixed number of mounts, because the length of each line in /proc/mounts depends on what mount options are in effect. the limit is the number of characters in the file. > -----Original Message----- > From: James Pearson [mailto:james-p@moving-picture.com]=20 > Sent: Wednesday, June 09, 2004 6:29 AM > To: Lever, Charles > Cc: nfs@lists.sourceforge.net > Subject: Re: [NFS] mtab and procs not in sync? >=20 >=20 > Do you know how many 'a lot of mounts' is? >=20 > I believe there was a problem with /proc/mounts in 2.2=20 > kernels (limited=20 > to one page) - is there still a limit in 2.4 or 2.6 kernels? >=20 > I currently symlink /proc/mounts to /etc/mtab on diskless machines to=20 > get round the issue that /etc/mtab can not trusted to be=20 > correct. I only=20 > have a maximum of a few 10's of mounts at any one time. >=20 > James Pearson >=20 > Lever, Charles wrote: > > if there are a lot of mounts on the system, then=20 > /proc/mounts can be=20 > > truncated and not show all of them. > >=20 > > however, if there are more mounts in /proc/mounts than in=20 > /etc/mtab,=20 > > there is probably a bug in mount. not unheard of. > >=20 > >=20 > >>-----Original Message----- > >>From: Phy Prabab [mailto:phyprabab@yahoo.com] > >>Sent: Tuesday, June 08, 2004 2:21 PM > >>To: nfs@lists.sourceforge.net > >>Subject: [NFS] mtab and procs not in sync? > >> > >> > >>Hello, > >> > >>Have run into a situation where mtab does not match /proc/mounts in=20 > >>that mtab has numerous entries that have expired off and=20 > removed, yet=20 > >>does not show that it has been removed from mtab. Is this=20 > known and=20 > >>is there a fix? > >> > >>Kernel 2.4.21 and 23 > >>nfs-utils 1.06 > >>automount 4.1.2 > >> > >>Thanks! > >>Phy > >> > >> > >>=09 > >> =09 > >>__________________________________ > >>Do you Yahoo!? > >>Friends. Fun. Try the all-new Yahoo! Messenger.=20 > >>http://messenger.yahoo.com/ > >> > >> > >>------------------------------------------------------- > >>This SF.Net email is sponsored by: GNOME Foundation > >>Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event.=20 > >>GNOME Users and Developers European Conference, 28-30th=20 > June in Norway=20 > >>http://2004/guadec.org=20 > _______________________________________________ > >>NFS maillist - NFS@lists.sourceforge.net > >>https://lists.sourceforge.net/lists/listinfo/nfs > >> > >=20 > >=20 > >=20 > > ------------------------------------------------------- > > This SF.Net email is sponsored by: GNOME Foundation > > Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event.=20 > > GNOME Users and Developers European Conference, 28-30th=20 > June in Norway=20 > > http://2004/guadec.org=20 > _______________________________________________ > > NFS maillist - NFS@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nfs > >=20 >=20 >=20 ------------------------------------------------------- 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 - NFS@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs