WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Copy on write Disk Images

To: "Michael T. Babcock" <mike@xxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Copy on write Disk Images
From: Goswin von Brederlow <brederlo@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 10 Sep 2007 19:14:07 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 10 Sep 2007 10:14:46 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <46D6E4A9.9020409@xxxxxxxxxxxxxx> (Michael T. Babcock's message of "Thu, 30 Aug 2007 11:39:21 -0400")
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <b5dff97f0708250637n44f81b39p52aa9b87ad3dffbf@xxxxxxxxxxxxxx> <46D6E4A9.9020409@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Gnus/5.110006 (No Gnus v0.6) XEmacs/21.4.19 (linux)
"Michael T. Babcock" <mike@xxxxxxxxxxxxxx> writes:

> Eric Harney wrote:
>> If anyone has ever configured something like this,  I'd be interested in any
>> notes or opinions you can provide about this kind of configuration, or
>> possibilities for entirely different setups which do the same thing.
>>
>
> I haven't done it personally, but you could try using LVM's snapshot
> feature to create one or several disk images based on a single
> original image whose changes would be stored in the snapshot storage.
> You'd want to make sure you had enough room for the storage of all
> changes of course.
>
> -- 
> Michael T. Babcock
> http://mikebabcock.ca

Alternatively (and if speed is not so important) you can use
fuse-unionfs with nfs shares (and nfs is slow, not fuse).

I have the following setup:

/mnt/disk          is exported read-write
/mnt/group/<group> is read-write
/mnt/client/<ip>   is read-write

On disk I have a generic debian that is shared between all clients.
group/<group> contains changes relevant for all clients in a group
(like group lustre, debug, etc) and last client/<ip> is where every
client writes all their changes to.

The advantage of fuse-unionfs over other union FS implementations is
that you can savely edit files on /mnt/disk or /mnt/group without
causing oopses on the client or plain wrong data being cached.

MfG
        Goswin


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>