Linux NFS development
 help / color / mirror / Atom feed
From: "J. Bruce Fields" <bfields@fieldses.org>
To: Benjamin Maynard <benmaynard@google.com>
Cc: linux-nfs@vger.kernel.org
Subject: Re: Input/output errors when mounting re-exported directories that use crossmounts
Date: Tue, 30 Mar 2021 10:13:59 -0400	[thread overview]
Message-ID: <20210330141359.GA8841@fieldses.org> (raw)
In-Reply-To: <CA+QRt4srUGGgqYPs6bufihOrC8wUZ0-B5yzXjN7rrh=EdTatAA@mail.gmail.com>

One of my pie-in-the-sky ideas here is to allow running the server in a
mode where it re-exports one server and has no other exports whatsoever.

That would mean that when the re-exporting server gets a filehandle, it
knows it originated from that one server, and if necessary it can do
things like issue a getattr on that filehandle for the fsid to find out
which filesystem it belongs to.

It's a major restriction, but I figure that might be what you're doing
anyway in a case like yours.  Perhaps containers or VMs would be a
workaround if you want to server more exports from the same physical
hardware.

But, anyway, I'm not actually sure how to make that work and it's not
currently on the todo list.

--b.

      reply	other threads:[~2021-03-30 14:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-23 20:08 Input/output errors when mounting re-exported directories that use crossmounts Benjamin Maynard
2021-03-25 21:34 ` J. Bruce Fields
2021-03-30 11:37   ` Benjamin Maynard
2021-03-30 14:13     ` 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=20210330141359.GA8841@fieldses.org \
    --to=bfields@fieldses.org \
    --cc=benmaynard@google.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