FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 01-26-2011, 11:37 AM
Matthias Fechner
 
Default Something like nullfs (FreeBSD) available in linux

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
 
Old 01-26-2011, 02:56 PM
YoYo Siska
 
Default Something like nullfs (FreeBSD) available in linux

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
 
Old 01-26-2011, 08:13 PM
Matthias Fechner
 
Default Something like nullfs (FreeBSD) available in linux

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



Wed Jan 26 23:30:01 2011
Return-path: <users-bounces@lists.fedoraproject.org>
Envelope-to: tom@linux-archive.org
Delivery-date: Wed, 26 Jan 2011 23:02:05 +0200
Received: from bastion02.fedoraproject.org ([209.132.181.3]:40998 helo=bastion.fedoraproject.org)
by s2.java-tips.org with esmtp (Exim 4.69)
(envelope-from <users-bounces@lists.fedoraproject.org>)
id 1PiCVB-0005J2-KD
for tom@linux-archive.org; Wed, 26 Jan 2011 23:02:05 +0200
Received: from lists.fedoraproject.org (collab1.vpn.fedoraproject.org [192.168.1.21])
by bastion02.phx2.fedoraproject.org (Postfix) with ESMTP id AFB27110B61;
Wed, 26 Jan 2011 22:08:45 +0000 (UTC)
Received: from collab1.fedoraproject.org (localhost.localdomain [127.0.0.1])
by lists.fedoraproject.org (Postfix) with ESMTP id B2A0F326778;
Wed, 26 Jan 2011 22:08:44 +0000 (UTC)
X-Original-To: users@lists.fedoraproject.org
Delivered-To: users@lists.fedoraproject.org
Received: from smtp-mm01.fedoraproject.org (smtp-mm1.fedoraproject.org
[80.239.156.217])
by lists.fedoraproject.org (Postfix) with ESMTP id 1BD53326781
for <users@lists.fedoraproject.org>;
Wed, 26 Jan 2011 22:08:38 +0000 (UTC)
Received: from mars.math-info.univ-paris5.fr (mars.math-info.univ-paris5.fr
[193.48.200.18])
by smtp-mm01.fedoraproject.org (Postfix) with ESMTP id 7062987E64
for <users@lists.fedoraproject.org>;
Wed, 26 Jan 2011 22:08:37 +0000 (UTC)
Received: from dipankar.homelinux.org (localhost [127.0.0.1])
by mars.math-info.univ-paris5.fr (8.14.4/jtpda-5.4) with ESMTP id
p0QM8ZI6010933
for <users@lists.fedoraproject.org>; Wed, 26 Jan 2011 23:08:35 +0100
Message-ID: <4D409B63.9040705@mi.parisdescartes.fr>
Date: Wed, 26 Jan 2011 23:08:35 +0100
From: =?UTF-8?B?RnJhbsOnb2lzIFBhdHRl?=
<francois.patte@mi.parisdescartes.fr>
Organization: =?UTF-8?B?VW5pdmVyc2l0w6kgUGFyaXMgRGVzY2FydGVz?=
User-Agent: Thunderbird 2.0.0.23 (X11/20090825)
MIME-Version: 1.0
To: Community support for Fedora users <users@lists.fedoraproject.org>
Subject: Re: [Fedora] Re: [Fedora] Re: native texlive and yum
References: <alpine.LFD.2.00.1101241347570.2963@localhost6.loc aldomain6> <1295874252.2272.2.camel@localhost.localdomain> <alpine.LFD.2.00.1101251139430.2971@localhost6.loc aldomain6> <4D3EADB9.2090604@mi.parisdescartes.fr>
<alpine.LFD.2.00.1101251620310.3161@localhost6.loc aldomain6>
In-Reply-To: <alpine.LFD.2.00.1101251620310.3161@localhost6.loc aldomain6>
X-Enigmail-Version: 0.96.0
X-BeenThere: users@lists.fedoraproject.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: Community support for Fedora users <users@lists.fedoraproject.org>
List-Id: Community support for Fedora users <users.lists.fedoraproject.org>
List-Unsubscribe: <https://admin.fedoraproject.org/mailman/listinfo/users>,
<mailto:users-request@lists.fedoraproject.org?subject=unsubscrib e>
List-Archive: <http://lists.fedoraproject.org/pipermail/users>
List-Post: <mailto:users@lists.fedoraproject.org>
List-Help: <mailto:users-request@lists.fedoraproject.org?subject=help>
List-Subscribe: <https://admin.fedoraproject.org/mailman/listinfo/users>,
<mailto:users-request@lists.fedoraproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: users-bounces@lists.fedoraproject.org
Errors-To: users-bounces@lists.fedoraproject.org

LS0tLS1CRUdJTiBQR1AgU0lHTkVEIE1FU1NBR0UtLS0tLQpIYX NoOiBTSEExCgpMZSAyNS8wMS8y
MDExIDE2OjI1LCBXYWx0ZXIgQ2F6em9sYSBhIMOpY3JpdCA6Cj 4gT24gVHVlLCAyNSBKYW4gMjAx
MSwgRnJhbsOnb2lzIFBhdHRlIHdyb3RlOgo+IAoKPj4gQlRXIH doeSBkbyB5b3Ugd2FudCBhMnBz
IGl0IGlzIHF1aXRlIG9ic29sZXRlIG5vdyBmb3IgaXQgaXMgdW 5hYmxlIHRvCj4+IGhhbmRsZSB1
dGYtOCBlbmNvZGFnZS4KPiAKPiBJJ20gYSBsb25nIHRpbWUgdX NlciBvZiBhMnBzIGFuZCBJJ3Zl
IHNldmVyYWwgc2NyaXB0cyB0aGF0IHVzZXMgaXQgYW5kCj4gaX QgaXMgdG9vIG11Y2ggd29yayB0
byBwb3J0IHRoZW0gdG93YXJkcyBhIG5ldyB0b29sICh3aGljaC BvbmU/KQoKVGhlcmUgaXMgYSB1
MnBzIGJ1dCBpdCBpcyBhIHRhci5neiB0aGF0IHlvdSBoYXZlIH RvIGNvbXBpbGUgeW91cnNlbGYu
Li4uCk1heWJlIHlvdSBjYW4gbWFrZSBhIHJwbSBhbmQgInl1bS BpbnN0YWxsIiBpdD8KCkYuCgot
IC0tCkZyYW7Dp29pcyBQYXR0ZQpVRlIgZGUgbWF0aMOpbWF0aX F1ZXMgZXQgaW5mb3JtYXRpcXVl
ClVuaXZlcnNpdMOpIFBhcmlzIERlc2NhcnRlcwo0NSwgcnVlIG RlcyBTYWludHMgUMOocmVzCkYt
NzUyNzAgUGFyaXMgQ2VkZXggMDYKVMOpbC4gKzMzICgwKTEgOD M5NCA1ODQ5Cmh0dHA6Ly93d3cu
bWF0aC1pbmZvLnVuaXYtcGFyaXM1LmZyL35wYXR0ZQotLS0tLU JFR0lOIFBHUCBTSUdOQVRVUkUt
LS0tLQpWZXJzaW9uOiBHbnVQRyB2MS40LjkgKEdOVS9MaW51eC kKQ29tbWVudDogVXNpbmcgR251
UEcgd2l0aCBGZWRvcmEgLSBodHRwOi8vZW5pZ21haWwubW96ZG V2Lm9yZy8KCmlFWUVBUkVDQUFZ
RkFrMUFtMk1BQ2drUWRFNkMyZGhWMkpWci9RQ2ZTbThaZ3dYTE paODNTOW00RGFtVytNUkcKN2tZ
QW4zRldRR1JNbUM5RHZ0UEtkV214cWVYU0RhV0EKPWdVQ3UKLS 0tLS1FTkQgUEdQIFNJR05BVFVS
RS0tLS0tCi0tIAp1c2VycyBtYWlsaW5nIGxpc3QKdXNlcnNAbG lzdHMuZmVkb3JhcHJvamVjdC5v
cmcKVG8gdW5zdWJzY3JpYmUgb3IgY2hhbmdlIHN1YnNjcmlwdG lvbiBvcHRpb25zOgpodHRwczov
L2FkbWluLmZlZG9yYXByb2plY3Qub3JnL21haWxtYW4vbGlzdG luZm8vdXNlcnMKR3VpZGVsaW5l
czogaHR0cDovL2ZlZG9yYXByb2plY3Qub3JnL3dpa2kvTWFpbG luZ19saXN0X2d1aWRlbGluZXMK
 

Thread Tools




All times are GMT. The time now is 12:16 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org