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] How was CoW implemented on the Demo LiveCD (3.0) ??

To: Rickard Borgm?ster <doktorn@xxxxxx>
Subject: Re: [Xen-users] How was CoW implemented on the Demo LiveCD (3.0) ??
From: Tim Deegan <Tim.Deegan@xxxxxxxxxxxx>
Date: Tue, 24 Jan 2006 11:24:45 +0000
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 24 Jan 2006 11:33:28 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <dr4vq3$uco$1@xxxxxxxxxxxxx>
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: <dr4vq3$uco$1@xxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.2.1i
On Tue, Jan 24, 2006 at 11:33:43AM +0100, Rickard Borgm?ster wrote:
> I need to know what's needed to implement cow filesystem for domU the 
> same way it was done on the LiveCD demo for xen 3.0. Our current project 
> it is replace UML with XEN on a bootable router simulation LiveCD. We 
> need to make each domU machine share the same rootfs.img. And I know it 
> is possible, as it was done on the demo LiveCD. But how?

I think you'll need to copy over some of the scripts from the demo CD:

/etc/xen/scripts/block-cow
/usr/sbin/create_cow    
/usr/sbin/destroy_cow

> disk = ['cow:/tmp/cdrom/rootfs.img 30,sda1,w']
> what does "30" mean here? A little bit hard to guess...

30 is the size of backing file to use, in this case 30MB.
 
Tim

-- 
Tim Deegan                           (My opinions, not the University's)
Systems Research Group
University of Cambridge Computer Laboratory

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