From: Peter Staubach <staubach@redhat.com>
To: chuck.lever@oracle.com
Cc: Linux NFS mailing list <nfs@lists.sourceforge.net>
Subject: Re: mount.nfs: chk_mountpoint()
Date: Thu, 23 Aug 2007 14:22:33 -0400 [thread overview]
Message-ID: <46CDD069.3070608@redhat.com> (raw)
In-Reply-To: <46CDC7D0.6030803@oracle.com>
Chuck Lever wrote:
> Peter Staubach wrote:
>> Chuck Lever wrote:
>>> Hi all-
>>>
>>> The recent addition of the chk_mountpoint() function in
>>> utils/mount/mount.c in nfs-utils commit 3b55934b has broken a
>>> particular behavior of background mounts.
>>>
>>> nfs(5) states that, if the "bg" option is specified, "A missing
>>> mount point is treated as a timeout, to allow for nested NFS mounts."
>>>
>>> If I try mounting an NFS share onto a non-existent directory while
>>> using the "bg" option, I now get an immediate failure:
>>>
>>> mount.nfs: mount point /mnt/nothere does not exist
>>>
>>> instead of the mount backgrounding itself to wait for /mnt/nothere
>>> to show up. This is because chk_mountpoint() is causing the mount
>>> request to fail immediately.
>>>
>>> Is the documented bg retry behavior still desirable?
>>
>> Isn't this what autofs is for? To be able to handle hierarchies
>> of mounts?
>
> I think the purpose of this feature is to allow a sysadmin to specify
> a set of mount points in /etc/fstab, some possibly nested. "mount -a
> -tnfs" should work no matter what order the mounts in /etc/fstab are
> specified.
>
> After all, some servers may be unresponsive when the client boots --
> the mounting order is nondeterministic; it can't be depended on, in
> any event.
>
> We also don't know if the automounter itself depends on this feature.
Autofs depending upon this feature would be a large mistake.
IMHO, of course. :-)
I don't think that it does.
But your explanation makes sense, although we should be moving
people away from static mounts in fstab and towards dynamic
mounting via autofs. Ian and Jeff have made autofs much, much
better in recent times. Improving autofs further to make it
only mount file systems which are actually referenced would make
it even better.
How do we find out whether we need to continue supporting this
semantic or whether we can do away with it? Clearly, if it was
busted, then not many people were depending upon it because
there didn't seem to be any hue and cry about it not working.
Thanx...
ps
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
next prev parent reply other threads:[~2007-08-23 18:22 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-22 19:02 mount.nfs: chk_mountpoint() Chuck Lever
2007-08-23 12:50 ` Peter Staubach
2007-08-23 17:45 ` Chuck Lever
2007-08-23 18:22 ` Peter Staubach [this message]
2007-08-23 20:00 ` Chuck Lever
2007-08-23 20:12 ` Peter Staubach
2007-08-23 20:30 ` Chuck Lever
2007-08-23 20:49 ` Peter Staubach
2007-08-30 10:12 ` Frank van Maarseveen
2007-08-30 11:53 ` Peter Staubach
2007-08-30 16:01 ` Chuck Lever
2007-08-30 16:07 ` Peter Staubach
2007-08-30 16:18 ` Chuck Lever
2007-08-30 19:15 ` Talpey, Thomas
2007-08-30 21:11 ` Peter Staubach
2007-08-30 16:19 ` J. Bruce Fields
2007-08-30 16:24 ` Chuck Lever
2007-08-30 16:16 ` Frank van Maarseveen
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=46CDD069.3070608@redhat.com \
--to=staubach@redhat.com \
--cc=chuck.lever@oracle.com \
--cc=nfs@lists.sourceforge.net \
/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.