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] Shared storage in Xen Cluster

To: "chetan saundankar" <chetan.lists@xxxxxxxxx>
Subject: Re: [Xen-users] Shared storage in Xen Cluster
From: "sven waeyenbergh" <sven.waeyenbergh@xxxxxxxxx>
Date: Fri, 4 Jan 2008 11:20:48 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 04 Jan 2008 02:21:25 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=wmpVwIBhlGF3SixVo/I/CF7yWYDuHh4+tOReSPxSQXU=; b=Vnnb6joXLiiNLdBBETDkBgCjmBNEurr7bCnfbYCka5ixnJFUvGj/bpoVDEsd3XIPIq8hdmiCUAhFsGZMJrTU95N2N0BQLiJfektLq+ZsaW/rMgyyC/Mj/ZR/bPx/Ykk4c6PRpKUDZDPZcu+AXfdQ+u6XuUWbwdEJxieQ/aKkdGg=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=dW5prbRmOaYO72c3HXT/GBRfbmF7je4yisG7DraTSSntgyvbz5DC+EZuQ5XnAMwnUDXtrDR6fv67Vyo9tBi5CSDN9UPWsr7gb6tTAJBydK2Pm0a766EAKFAGow3SOhcpwQ/iGVCu3buFZCWUlJSywIwg2I24qLsDM+azItRDy6I=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <2e3912590801031435s762fcbdcyb631c0b67ebd31f7@xxxxxxxxxxxxxx>
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: <2e3912590801031435s762fcbdcyb631c0b67ebd31f7@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
It sounds like you need a COW filesystem.
COW stands for copy on write. This means that you have a single root filesystem that is shared by all guests, and each guest has an extra volume that he will use to write any changes to (instead of the root filesystem). it's a bit like a snapshot works.
This enables you to have a single image for multiple machines, and you can even have local changes for each machine.
Note that this will be a very bad idea if performance is important to you.

I'm sure this worked with xen2.0, i'm not sure of the support on xen 3.0/3.1, but you should be able to find more info here: http://wiki.xensource.com/xenwiki/COWHowTo

S

On Jan 3, 2008 11:35 PM, chetan saundankar <chetan.lists@xxxxxxxxx> wrote:
Hi all,
I am having following deployment scenario,
- 2 Xen hosts (running Xen 3.1)
- 1 Image server (NFS)

Requirements:
-----------------
1. Have an file system image of a linux distribution say Fedora 8 on
Image (NFS) Server
2. I want to have 4 guests running Fedora 8 but for 4 different users.
3. Base file system image (Fedora 8 image on Image server) shared
amongst 4 users in Read only fashion
4. All 4 users will have separate VBD's for user specific data.

Question:
------------
Is there any way to force users write on the data VBD's exported for
each VM?
The whole point is that guest user should not worry about where to
write, every write call should be targeted towards data VBD and this
needs to be achieved without changing anything in the guest.

Thanks and Regards
Chetan

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

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