public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: YoYo Siska <yoyo@gl.ksp.sk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Something like nullfs (FreeBSD) available in linux
Date: Wed, 26 Jan 2011 16:56:38 +0100	[thread overview]
Message-ID: <20110126155638.GA13476@ksp.sk> (raw)
In-Reply-To: <4D401592.70909@fechner.net>

On Wed, Jan 26, 2011 at 01:37:38PM +0100, Matthias Fechner wrote:
> Dear list,
> 
> I want to build up a NFS share for several host.
> The base system is always equal, only some files are different
> (files in /etc and /var, maybe more).
> 
> The structure should look like:
> Base system is on /basesystem
> 
> Then I want a directory for every host:
> /nfsroot/host1
> /nfsroot/host2
> ..
> /nfsroot/hostn
> 
> Client 1 will boot via lan and mount the /nfsroot/host1 via NFS.
> On the server the mount could look like:
> mount -t nullfs /basesystem /nfsroot/host1
> mount -t nullfs /basesystem /nfsroot/host2
> 
> If the host1 changes now a file the changed file is not stored in
> /basesystem but in /nfsroot/host1.
> (so you can think about a filesystem in two layers, the ground layer
> is /basesystem and readonly, changes will go to /nfsroot/hostn)
> 
> If i upgrade the /basesystem all files should be available for all
> hosts expect the files the host changed by itself (they are stored
> in the nfsroot/hostn directory).
> 
> In FreeBSD there is a file system available called nullfs which
> could be used for this.
> Is there a similar filesystem for Linux available, too?

Unionfs or aufs should be able to do that.

yoyo




  reply	other threads:[~2011-01-26 15:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-26 12:37 [gentoo-user] Something like nullfs (FreeBSD) available in linux Matthias Fechner
2011-01-26 15:56 ` YoYo Siska [this message]
2011-01-26 21:13   ` Matthias Fechner

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=20110126155638.GA13476@ksp.sk \
    --to=yoyo@gl.ksp.sk \
    --cc=gentoo-user@lists.gentoo.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