public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Frank van Maarseveen <frankvm@frankvm.com>
To: Neil Brown <neilb@suse.de>
Cc: Martin Filip <bugtraq@smoula.net>,
	David Greaves <david@dgreaves.com>,
	linux-kernel@vger.kernel.org,
	Linux NFS mailing list <nfs@lists.sourceforge.net>
Subject: Re: NFS and partitioned md
Date: Thu, 20 Jul 2006 11:07:36 +0200	[thread overview]
Message-ID: <20060720090736.GB1408@janus> (raw)
In-Reply-To: <17598.52873.335796.13969@cse.unsw.edu.au>

On Thu, Jul 20, 2006 at 10:30:01AM +1000, Neil Brown wrote:
> On Tuesday July 18, bugtraq@smoula.net wrote:
> > Hi,
> > 
> > my solution was to use fsid parameter for exports... maybe some other
> > mechanism for selecting fsids could be created instead of fsid = device
> > minor
> 
> Yes.  Better management of fsid is on my wishlist for nfs-utils.
> Unfortunately I haven't had any really clever ideas yet.

I'd like to "virtualize" exports such that it is possible to transplant
disks/partitions from one machine into another without having to bother
with device numbering. One step in that direction is to derive the fsid
from an IP address. The server machine needs an additional IP address
for every export entry. This IP address is determined by deriving
a hostname from the last pathname component of the export entry and
resolving it. E.g. something like:

/etc/exports:
	/exported/path/name	*(rw,sync,no_root_squash,no_subtree_check,fsid="nfs-%s")

This would set the fsid to the IP address of host "nfs-name".

-- 
Frank

  reply	other threads:[~2006-07-20  9:07 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-26 20:52 NFS and partitioned md Martin Filip
2006-06-26 20:58 ` Trond Myklebust
2006-06-26 21:21   ` Martin Filip
     [not found]   ` <1151356840.4460.18.camel@archon.smoula-in.net>
2006-06-26 21:51     ` Trond Myklebust
2006-06-26 22:14       ` Martin Filip
2006-06-26 22:32         ` Trond Myklebust
2006-06-27  0:32 ` Neil Brown
2006-06-27 18:18   ` Martin Filip
2006-06-29  3:45     ` Neil Brown
2006-06-29 16:01       ` Martin Filip
2006-07-18 18:36       ` David Greaves
2006-07-18 20:04         ` Martin Filip
2006-07-20  0:30           ` Neil Brown
2006-07-20  9:07             ` Frank van Maarseveen [this message]
2006-08-21  2:29               ` [NFS] " Neil Brown

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=20060720090736.GB1408@janus \
    --to=frankvm@frankvm.com \
    --cc=bugtraq@smoula.net \
    --cc=david@dgreaves.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=neilb@suse.de \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox