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] Multiple domUs on the same disk?

To: ArtemPervin@xxxxxxxx
Subject: Re: [Xen-users] Multiple domUs on the same disk?
From: Christian Horn <chorn@xxxxxxxxxxxx>
Date: Mon, 28 May 2007 16:07:00 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 28 May 2007 07:05:32 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <deOMTgAGDeZU0Qsc@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: <deOMTgAGDeZU0Qsc@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.13 (2006-08-11)
On Mon, May 28, 2007 at 05:49:45PM +0400, ArtemPervin@xxxxxxxx wrote:
> Hello, xen-users.
> Tell me please is it possible in any way to start multiple domUs using the 
> same disk? 
> It looks like the only way to import the same disk into several domUs is 
> achived 
> by mounting this disk in the read-only mode. However I can't mount the root 
> device in 
> read-only mode (my linux simply won't boot normally). Is there any 
> alternatives to do 
> this? Clearly, there is no simple solution, as one have to manage all 
> possible 
> conflicts that may occure when two or more domUs will try to modify the same 
> data.

You could try to use things like unionfs to make one readonly-device (or an 
image that
is loopback-mounted) available in some other devices, this time readwritable and
with a copy-on-write.

One could also mount one rootdisk for all vms readonly and
one writable disk for each vm, and place symlinks on the rootdisk onto the
writable disk where needed; /var/run, /tmp etc. - not an easy job.


Christian

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

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