public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Something like nullfs (FreeBSD) available in linux
@ 2011-01-26 12:37 Matthias Fechner
  2011-01-26 15:56 ` YoYo Siska
  0 siblings, 1 reply; 3+ messages in thread
From: Matthias Fechner @ 2011-01-26 12:37 UTC (permalink / raw
  To: gentoo-user

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?

Thanks,
Matthias

-- 
"Programming today is a race between software engineers striving to 
build bigger and better idiot-proof programs, and the universe trying to 
produce bigger and better idiots. So far, the universe is winning." -- 
Rich Cook



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] Something like nullfs (FreeBSD) available in linux
  2011-01-26 12:37 [gentoo-user] Something like nullfs (FreeBSD) available in linux Matthias Fechner
@ 2011-01-26 15:56 ` YoYo Siska
  2011-01-26 21:13   ` Matthias Fechner
  0 siblings, 1 reply; 3+ messages in thread
From: YoYo Siska @ 2011-01-26 15:56 UTC (permalink / raw
  To: gentoo-user

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




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] Something like nullfs (FreeBSD) available in linux
  2011-01-26 15:56 ` YoYo Siska
@ 2011-01-26 21:13   ` Matthias Fechner
  0 siblings, 0 replies; 3+ messages in thread
From: Matthias Fechner @ 2011-01-26 21:13 UTC (permalink / raw
  To: gentoo-user

On 26.01.11 16:56, YoYo Siska wrote:
> Unionfs or aufs should be able to do that.

thanks a lot, aufs work perfectly.

Thanks,
Matthias

-- 
"Programming today is a race between software engineers striving to 
build bigger and better idiot-proof programs, and the universe trying to 
produce bigger and better idiots. So far, the universe is winning." -- 
Rich Cook



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-01-26 21:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-26 12:37 [gentoo-user] Something like nullfs (FreeBSD) available in linux Matthias Fechner
2011-01-26 15:56 ` YoYo Siska
2011-01-26 21:13   ` Matthias Fechner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox