public inbox for linux-nfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Ben DJ <bendj095124367913213465@gmail.com>
To: linux-nfs@vger.kernel.org
Subject: are multiple FSIDs supported?
Date: Fri, 23 Oct 2009 11:32:44 -0700	[thread overview]
Message-ID: <babafd2f0910231132n464da0crc2a5cc0427af9a40@mail.gmail.com> (raw)

Hello,

I'm building an NFSv4 FileServer.  My goal is to service multiple
machines on a LAN, each with their own, isolated namespace (I'm not
sure that's the right terminology).

Reading the man page it seems that only ONE fsid=0 export is allowed
per server.  And that subdirectories of that root CAN be exported, but
always under the same/one root.

That doesn't seem like "good isolation" to me.

My goal would be to export, for example

 /nfs1 & it's subdirs ONLY to LAN box1
 /nfs2 & it's subdirs ONLY to LAN box2
 etc

I've seen some mentions & discussion online of multiple-fsid's, where
/nfs1 would be exported as a root under fsid=0, /nfs2 under fsid=1,
etc.

But this approach doesn't look like its currently supported or
recommended.  Even if it was I haven't found anything that says how a
nfsv4 client would ADDRESS the specific fsid's.  Something in the
mount's URI I guess.

I know I might still be stuck in NFSv3 thinking about this, and NFSv4
subdirs might be isolated "well enough".

BenDJ

             reply	other threads:[~2009-10-23 18:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-23 18:32 Ben DJ [this message]
     [not found] ` <babafd2f0910231132n464da0crc2a5cc0427af9a40-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-10-23 19:00   ` are multiple FSIDs supported? J. Bruce Fields
2009-10-23 19:09     ` Ben DJ

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=babafd2f0910231132n464da0crc2a5cc0427af9a40@mail.gmail.com \
    --to=bendj095124367913213465@gmail.com \
    --cc=linux-nfs@vger.kernel.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