All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ian Kent <raven@themaw.net>
To: Andrew Klaassen <clawsoon@yahoo.com>
Cc: autofs@linux.kernel.org
Subject: Re: Indirect multi-mount map sometimes needs client reboot after update
Date: Mon, 24 May 2010 09:36:58 +0800	[thread overview]
Message-ID: <1274665018.2410.6.camel@localhost> (raw)
In-Reply-To: <510030.76217.qm@web65411.mail.ac4.yahoo.com>

On Fri, 2010-05-21 at 13:12 -0700, Andrew Klaassen wrote:
> I've got indirect multi-mount and single-mount maps set up in NIS like
> so:
> 
> auto.master:
> 
> /test auto.test --ghost
> 
> auto.test:
> 
> foo /    -tcp,intr server1:/foo \
>     /bar -tcp,intr server2:/bar
> abc      -tcp,intr server1:/abc
> 
> Changes to single-mount maps are picked up immediately by clients.
> 
> Changes to multi-mount maps are picked up:
> 
> 1. Immediately if nothing under the key is currently mounted.
> 
> 2. Only after an autofs restart - or sometimes even a reboot - after
> anything has been mounted under the key.
> 
> Is it possible to make #2 go away?  Having to reboot every single one
> of hundreds of client machines after a single change is a downer.

These multi-mount map entry keys should be updated, if they have
changed, after all the dependent mounts in the tree have been umounted.
They can't be updated while subordinate mounts are active because the
information about the mount tree (and dependencies within the tree) is
used during operation.

Are you sure the mount tree goes away and isn't updated at the next
mount?

Ian

      reply	other threads:[~2010-05-24  1:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-21 20:12 Indirect multi-mount map sometimes needs client reboot after update Andrew Klaassen
2010-05-24  1:36 ` Ian Kent [this message]

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=1274665018.2410.6.camel@localhost \
    --to=raven@themaw.net \
    --cc=autofs@linux.kernel.org \
    --cc=clawsoon@yahoo.com \
    /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.