All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Brian J. Murrell" <brian@interlinx.bc.ca>
To: autofs@linux.kernel.org
Subject: Re: automounted filesystems being unmounted and mounted	every minute
Date: Mon, 16 Oct 2006 13:26:13 -0400	[thread overview]
Message-ID: <1161019573.3184.15.camel@pc.ilinx> (raw)
In-Reply-To: <1161016376.3085.86.camel@localhost>


[-- Attachment #1.1: Type: text/plain, Size: 1924 bytes --]

On Tue, 2006-17-10 at 00:32 +0800, Ian Kent wrote:
> On Mon, 2006-10-16 at 09:30 -0400, Brian J. Murrell wrote:
> > Autofs 5.0.1 seems to be doing an unmount/mount of my home dir
> > filesystems every minute or so.  Verbose output from autofs shows:
> > 
> > Oct 16 09:27:23 jenny automount[18632]: expiring path /autohome/share
> > Oct 16 09:27:23 jenny automount[18632]: unmounting dir = /autohome/share
> > Oct 16 09:27:23 jenny automount[18632]: expired /autohome/share
> > Oct 16 09:27:23 jenny automount[18632]: expiring path /autohome/brian
> > Oct 16 09:27:23 jenny automount[18632]: unmounting dir = /autohome/brian
> > Oct 16 09:27:23 jenny automount[18632]: expired /autohome/brian
> > Oct 16 09:27:24 jenny automount[18632]: attempting to mount entry /autohome/share
> > Oct 16 09:27:24 jenny automount[18632]: mount(nfs): mounted linux:/home/share on /autohome/share
> > Oct 16 09:27:24 jenny automount[18632]: mounted /autohome/share
> > Oct 16 09:27:24 jenny automount[18632]: mount still busy /autohome
> > 
> > Why is it in the same window of operation expiring, unmounting and
> > remounting filesystems?
> 
> Is the directory busy?
> That is is it the pwd of some process or have open files?

Don't think so:

$ sudo ls -l /proc/*/cwd | grep share
[nothing]

> If it's not then it will be umounted when it times out, after 1 minute
> in this case. Then if some smart application scans directory trees when
> it sees mount or umount activity then it will be mounted again. We've
> seen this with older versions of hald.

Heh.

> The best way to find out what is causing this is to enable debug logging

As in "automount -d"?

> on a test machine and check what pid is causing mount activity.

I tried this (automount -d) but am not seeing any more information than
-v provides.

b.

-- 
My other computer is your Microsoft Windows server.

Brian J. Murrell

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: Type: text/plain, Size: 140 bytes --]

_______________________________________________
autofs mailing list
autofs@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/autofs

  reply	other threads:[~2006-10-16 17:26 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-16 13:30 automounted filesystems being unmounted and mounted every minute Brian J. Murrell
2006-10-16 16:32 ` Ian Kent
2006-10-16 17:26   ` Brian J. Murrell [this message]
2006-10-16 18:08     ` Jeff Moyer
2006-10-16 19:00       ` Brian J. Murrell
2006-10-16 19:49         ` Jeff Moyer
  -- strict thread matches above, loose matches on Subject: below --
2006-10-27 15:14 Scott_Rochford
2006-10-27 15:29 ` Brian J. Murrell
2006-10-27 23:04   ` Jeff Moyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1161019573.3184.15.camel@pc.ilinx \
    --to=brian@interlinx.bc.ca \
    --cc=autofs@linux.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.