Linux NFS development
 help / color / mirror / Atom feed
From: "J. Bruce Fields" <bfields@fieldses.org>
To: "Murata, Dennis" <DENNIS.MURATA-jTGLxe6cr0Q@public.gmane.org>
Cc: Chuck Lever <chuck.lever@oracle.com>,
	nfs@lists.sourceforge.net,
	Sev Binello <sev-IGkKxAqZmp0@public.gmane.org>
Subject: Re: [NFS] export dir thru 2 diff path names
Date: Sun, 16 Nov 2008 15:04:23 -0500	[thread overview]
Message-ID: <20081116200423.GL21551@fieldses.org> (raw)
In-Reply-To: <620E93B2E5CC3B46BD811165E3335B8702FD3423-9/h0XwadXgnyjpQT3Si/rsM9+qvyE0V4QQ4Iyu8u01E@public.gmane.org>

On Wed, Nov 12, 2008 at 10:04:30AM -0800, Murata, Dennis wrote:
> One last question for the maintainers and the community.  Is this viewed
> as an undocumented feature or a bug to be fixed?

By "this" you mean mountd's current practice of following symlinks in
export points?  If people are using it (and I can't imagine you're the
only ones to try), then I think we should make it a point to keep it
around.  Patches to the documentation (probably the exports man page,
kept in the nfs-utils code) welcomed.

--b.

> I would hate to
> recommend use of the exported link, only to have it disabled by an
> updated patch.
> 
> Wayne 
> 
> > -----Original Message-----
> > From: J. Bruce Fields [mailto:bfields@fieldses.org] 
> > Sent: Monday, November 10, 2008 2:45 PM
> > To: Chuck Lever
> > Cc: Murata, Dennis; nfs@lists.sourceforge.net; Sev Binello
> > Subject: Re: [NFS] export dir thru 2 diff path names
> > 
> > On Mon, Nov 10, 2008 at 03:20:42PM -0500, Chuck Lever wrote:
> > > On Nov 10, 2008, at Nov 10, 2008, 2:28 PM, J. Bruce Fields wrote:
> > >> On Mon, Nov 10, 2008 at 11:28:04AM -0800, Murata, Dennis wrote:
> > >>> That really is the 64K question.  During my initial testing, I 
> > >>> exported the parent directory.  Now I am explicitly exporting the 
> > >>> installation directories, where I see the exportfs 
> > message.  In the 
> > >>> messages log file on the server the mount request from 
> > the client is 
> > >>> always the actual directory.
> > >>
> > >> I don't see how this would be "unsafe"--if it works, go for it.
> > >>
> > >> One potential trap: it's using the same client list and export 
> > >> options for both, so if you think you can make one of them 
> > read-only 
> > >> and one of them writeable, for example, you'll be disapointed.
> > >
> > > I wonder how this behaves on the client side.  If the same client 
> > > mounts both paths, will it recognize that these are the 
> > same and use a 
> > > shared page cache for both?
> > 
> > Yeah, who knows.  I suspect it assumes they're different if 
> > the mount paths are different.
> > 
> > But for most people's purposes it probably doesn't matter 
> > much.  (For the purposes people have mentioned so far they 
> > don't even need to mount both paths from the same client at once.)
> > 
> > --b.
> > 
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> NFS maillist  -  NFS@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nfs
> _______________________________________________
> Please note that nfs@lists.sourceforge.net is being discontinued.
> Please subscribe to linux-nfs@vger.kernel.org instead.
>     http://vger.kernel.org/vger-lists.html#linux-nfs
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
_______________________________________________
Please note that nfs@lists.sourceforge.net is being discontinued.
Please subscribe to linux-nfs@vger.kernel.org instead.
    http://vger.kernel.org/vger-lists.html#linux-nfs


  parent reply	other threads:[~2008-11-16 20:05 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-14 16:41 [NFS] Redhat WS4 mount default changed to tcp ? Sev Binello
     [not found] ` <478B90A1.5000900-IGkKxAqZmp0@public.gmane.org>
2008-01-14 17:06   ` Trond Myklebust
     [not found]     ` <1200330387.7470.11.camel-rJ7iovZKK19ZJLDQqaL3InhyD016LWXt@public.gmane.org>
2008-01-14 17:22       ` Sev Binello
     [not found]         ` <478B9A64.5030903-IGkKxAqZmp0@public.gmane.org>
2008-01-14 17:39           ` Trond Myklebust
2008-11-07 17:44           ` [NFS] export dir thru 2 diff path names Sev Binello
     [not found]             ` <49147E79.6000508-IGkKxAqZmp0@public.gmane.org>
2008-11-09 15:58               ` J. Bruce Fields
2008-11-10 15:55                 ` Sev Binello
     [not found]                   ` <49185984.8010500-IGkKxAqZmp0@public.gmane.org>
2008-11-10 16:49                     ` J. Bruce Fields
2008-11-10 17:05                       ` Sev Binello
     [not found]                         ` <491869F0.1000505-IGkKxAqZmp0@public.gmane.org>
2008-11-10 18:08                           ` J. Bruce Fields
2008-11-10 18:11                           ` Murata, Dennis
     [not found]                             ` <620E93B2E5CC3B46BD811165E3335B8702F374A0-9/h0XwadXgnyjpQT3Si/rsM9+qvyE0V4QQ4Iyu8u01E@public.gmane.org>
2008-11-10 18:51                               ` Sev Binello
     [not found]                                 ` <491882AB.6070908-IGkKxAqZmp0@public.gmane.org>
2008-11-10 18:58                                   ` Murata, Dennis
     [not found]                                     ` <620E93B2E5CC3B46BD811165E3335B8702F37542-9/h0XwadXgnyjpQT3Si/rsM9+qvyE0V4QQ4Iyu8u01E@public.gmane.org>
2008-11-10 19:03                                       ` Sev Binello
     [not found]                                         ` <4918859C.6080608-IGkKxAqZmp0@public.gmane.org>
2008-11-10 19:28                                           ` Murata, Dennis
     [not found]                                             ` <620E93B2E5CC3B46BD811165E3335B8702F3759D-9/h0XwadXgnyjpQT3Si/rsM9+qvyE0V4QQ4Iyu8u01E@public.gmane.org>
2008-11-10 19:28                                               ` J. Bruce Fields
2008-11-10 19:36                                                 ` Sev Binello
2008-11-10 20:20                                                 ` Chuck Lever
2008-11-10 20:44                                                   ` J. Bruce Fields
2008-11-12 18:04                                                     ` Murata, Dennis
     [not found]                                                       ` <620E93B2E5CC3B46BD811165E3335B8702FD3423-9/h0XwadXgnyjpQT3Si/rsM9+qvyE0V4QQ4Iyu8u01E@public.gmane.org>
2008-11-16 20:04                                                         ` J. Bruce Fields [this message]
2008-11-17 16:54                                                           ` Murata, Dennis
2008-12-03 21:46                                                         ` J. Bruce Fields

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=20081116200423.GL21551@fieldses.org \
    --to=bfields@fieldses.org \
    --cc=DENNIS.MURATA-jTGLxe6cr0Q@public.gmane.org \
    --cc=chuck.lever@oracle.com \
    --cc=nfs@lists.sourceforge.net \
    --cc=sev-IGkKxAqZmp0@public.gmane.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox