linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "J. Bruce Fields" <bfields@fieldses.org>
To: Dennis Jacobfeuerborn <dennisml@conversis.de>
Cc: NeilBrown <neilb@suse.de>, linux-nfs@vger.kernel.org
Subject: Re: bind mounts, crossmnt and multi client nfsv3
Date: Tue, 22 Mar 2011 13:54:06 -0400	[thread overview]
Message-ID: <20110322175406.GC14627@fieldses.org> (raw)
In-Reply-To: <4D88DFC1.10400@conversis.de>

On Tue, Mar 22, 2011 at 06:43:29PM +0100, Dennis Jacobfeuerborn wrote:
> On 03/21/2011 08:04 PM, Dennis Jacobfeuerborn wrote:
> 
> [SNIP]
> 
> >I'd be interested to move on to v4 but from what I've heard the
> >user-mapping no longer is done using the uid. Since the users don't have
> >entries in /etc/passwd and exist purely as id's in the filesystem the
> >username based mapping in nfsv4 doesn't allow me to use it in this case.
> >I guess the only way to accomplish that would be to write a custom
> >rpcidmapd daemon?
> >
> >I'm currently downloading the openfiler installer so I can replicate the
> >setup here for better testing. Maybe updating the nfs-utils package to a
> >more current version will have an impact.
> 
> Apparently I need to export both the /exports directory and all the
> letter directories beneath it for the crossmnt option to work, e.g.:
> 
> /exports 192.168...
> /exports/country/de/a 192.168...
> /exports/country/de/b 192.168...
> /exports/country/de/c 192.168...

Huh.  I did just a quick test, mount --bind'ing a couple directories
under a crossmnt export, and verified that I could see the result from
an nfsv3 client.

2.6.38-ish kernel, fc13 userspace (nfs-utils-1.2.2-6).

--b.

      reply	other threads:[~2011-03-22 17:54 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-21  2:24 bind mounts, crossmnt and multi client nfsv3 Dennis Jacobfeuerborn
2011-03-21  3:09 ` NeilBrown
2011-03-21 12:27   ` Dennis Jacobfeuerborn
2011-03-21 17:25     ` J. Bruce Fields
2011-03-21 17:53       ` Dennis Jacobfeuerborn
2011-03-21 18:19         ` J. Bruce Fields
2011-03-21 19:04           ` Dennis Jacobfeuerborn
2011-03-22 17:43             ` Dennis Jacobfeuerborn
2011-03-22 17:54               ` J. Bruce Fields [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=20110322175406.GC14627@fieldses.org \
    --to=bfields@fieldses.org \
    --cc=dennisml@conversis.de \
    --cc=linux-nfs@vger.kernel.org \
    --cc=neilb@suse.de \
    /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;
as well as URLs for NNTP newsgroup(s).