From mboxrd@z Thu Jan 1 00:00:00 1970 From: Farkas Levente Subject: Re: automount never umount Date: Tue, 22 Nov 2005 22:24:57 +0100 Message-ID: <43838CA9.40105@bppiac.hu> References: <4381E865.4070908@bppiac.hu> <4382E835.3020904@bppiac.hu> <438344F7.8020503@bppiac.hu> <17283.19512.49399.338448@segfault.boston.redhat.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <17283.19512.49399.338448@segfault.boston.redhat.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: autofs-bounces@linux.kernel.org Errors-To: autofs-bounces@linux.kernel.org Content-Type: text/plain; charset="us-ascii"; format="flowed" To: jmoyer@redhat.com Cc: autofs@linux.kernel.org, Ian Kent Jeff Moyer wrote: > ==> Regarding Re: [autofs] automount never umount; Farkas Levente adds: > > lfarkas> Ian Kent wrote: > >>>That wasn't what I had in mind. >>> >>>I was thinking more along the lines of the definition of what constitues >>>"use". For example any access, such as a directory listing, will update >>>the "last used" value whereas if I change the definition of "last used" >>>to "currently in use" then to be busy there would have to be an open >>>file or a process working directory set. This may solve the GUI scanning >>>problem we see but wouldn't solve immediate remounting that occurs due >>>to the scanning as well. > > > lfarkas> that would be useful and may be solve our problem. without it the > lfarkas> current implementation is not usable to umount. think about just > lfarkas> the daily process like slocate database update, tripwire and may > lfarkas> be others. > > Things that run infrequently are not at fault, here. I'd really like to > know precisely what is going on, in your case. > > Ian, I think it would be easy enough to instrument the autofs4 module. > Simple things, like figuring out which process is triggerring the lookup. ps axu can help you? > We can either log it, or just keep a ring buffer. i run gnome and nothing special, even if only one terminal and netscape is running the autofs never umount. > I don't think I'll have time to put together any code this week, but may > next week. i'll happy to test it. ps. i try smbfs, cifs, but even nfs is never umount. -- Levente "Si vis pacem para bellum!"