[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Multiple domUs on the same disk?



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.