All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Waychison <Michael.Waychison@Sun.COM>
To: Terrence Martin <tmartin@physics.ucsd.edu>
Cc: autofs@linux.kernel.org
Subject: Re: 	Is it normal for autofs to remount a file system more than once?
Date: Thu, 02 Sep 2004 22:48:14 -0400	[thread overview]
Message-ID: <4137DB6E.3020204@sun.com> (raw)
In-Reply-To: <41379549.2040305@physics.ucsd.edu>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Terrence Martin wrote:
> Hi,
>
> I am not sure if this is related to my NFS mount hanging problems, but I
> have noticed that autofs will often remount a file system multiple
> times.  Is this normal? I think I have pretty straight forward auto.
> files....
>
> Terrence Martin
> UCSD Physics
>
> mount

>
> df


Both of these tools get their mount information from /etc/mtab, a plain
text file.  This file can get out of sync for a variety of reasons
unfortunately.  Some common reasons I usually see are:

- - You may be using multiple namespaces.  [u]mount(8) doesn't know how to
handle this.
- - [u]mount(8) has trouble getting a lock on the file, so it has trouble
updating.

The only way to see an accurate picture of your mount tree is to look at
/proc/mounts.  If this file has multiple entries for your automounted
filesystem, then there indeed is a problem.

Btw, you didn't mention which kernel(+patches?) and automount version
are you using.  That would help :)

Thanks,

- --
Mike Waychison
Sun Microsystems, Inc.
1 (650) 352-5299 voice
1 (416) 202-8336 voice
http://www.sun.com

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NOTICE:  The opinions expressed in this email are held by me,
and may not represent the views of Sun Microsystems, Inc.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBN9ttdQs4kOxk3/MRAnxeAJ9EU/vVu0J2OIl8hjFPWWkGd6IvMACeMkY5
VUKsB/GK2poT2NBx5AEZD30=
=AqLw
-----END PGP SIGNATURE-----

  reply	other threads:[~2004-09-03  2:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-02 21:48 Is it normal for autofs to remount a file system more than once? Terrence Martin
2004-09-03  2:48 ` Mike Waychison [this message]
2004-09-03  8:01   ` Terrence Martin
2004-09-03 14:20     ` 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=4137DB6E.3020204@sun.com \
    --to=michael.waychison@sun.com \
    --cc=autofs@linux.kernel.org \
    --cc=tmartin@physics.ucsd.edu \
    /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.