From: Ian Kent <raven@themaw.net>
To: cedric briner <work@infomaniak.ch>
Cc: autofs <autofs@linux.kernel.org>
Subject: Re: dead lock (autofs and/or mount)
Date: Sat, 04 Nov 2006 09:50:51 +0800 [thread overview]
Message-ID: <1162605051.25017.12.camel@localhost> (raw)
In-Reply-To: <454B7750.9000307@infomaniak.ch>
On Fri, 2006-11-03 at 18:07 +0100, cedric briner wrote:
> sarge
> autofs-4.1.3
> mount-2.12p
> uname -r : 2.6.8-3-686
>
> hello,
> I'm having such difficulties between the mount and the autofs package.
> When autofs want to mount a resource which is not available, i get into
> this situation:
>
> in my situation a nested mount in unavailable!
>
> # ps -efH
>
> root 4588 1 0 Oct25 ? 00:00:00 /usr/sbin/automount
> --pid-file=/var/run/autofs/_home_photom.pid --timeout=300 --ghost
> /home/photom yp auto_home_photom
>
> root 21442 4588 0 13:41 ? 00:00:00 /usr/sbin/automount
> --pid-file=/var/run/autofs/_home_photom.pid --timeout=300 --ghost
> /home/photom yp auto_home_photom
>
> root 21444 21442 0 13:41 ? 00:00:00 [mount] <defunct>
>
> root 21450 1 0 13:41 ? 00:00:00 mount --
> obssb13:/export/diskA2/backup/carrier
>
> # ypcat -k auto_home_photom | grep carrier
> carrier -bg / obssb6:/export/diskA1/& /unsaved obssb6:/export/diskA2/&
> /backup obssb13:/export/diskA2/backup/&
Don't use -bg.
How can autofs mount all entries of a multi-mount, with potential
nesting, if a mount operation is put into background. When a mount
operation is put into the background mount returns success which may not
actually true.
This is a sure way to break multi-mounts such as you are using here.
Ian
next prev parent reply other threads:[~2006-11-04 1:50 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-03 17:07 dead lock (autofs and/or mount) cedric briner
2006-11-03 18:56 ` Jeff Moyer
2006-11-04 1:51 ` Ian Kent
2006-11-04 1:50 ` Ian Kent [this message]
2006-11-07 8:35 ` cedric briner
2006-11-07 14:09 ` Peter Staubach
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=1162605051.25017.12.camel@localhost \
--to=raven@themaw.net \
--cc=autofs@linux.kernel.org \
--cc=work@infomaniak.ch \
/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.