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-devel

Re: [Xen-devel] organizing virtual machines

To: "Eric S. Johansson" <esj@xxxxxxxxxx>
Subject: Re: [Xen-devel] organizing virtual machines
From: Andrew Theurer <habanero@xxxxxxxxxx>
Date: Mon, 21 Feb 2005 17:19:09 -0600
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 21 Feb 2005 23:20:16 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
In-reply-to: <421A667D.4030507@xxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
References: <421A667D.4030507@xxxxxxxxxx>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 0.8 (Windows/20040913)
Eric S. Johansson wrote:

just want to make sure I'm understanding things correctly.

Every virtual machine must have effectively two partitions. The first being a root partition containing all of the system executables and configuration files as well as the usual /var, /tmp, etc. The second being storage for your application/user.

I imagine one could make a single partition to hold both of these sets of information but that's not the wisest choice. my preference would also be to put /var on the data partition.

The best setup for me has been a shared, read only /usr, and a seperate "/" for each of my domains. I use ferdora3 as my base for these filesystems. The shared /usr is about 2 GB and the / is about 100 MB each. When creating domains for testing, I use lvm to carve up a second disk, 2GB logical volume for /usr, and the rest of the disk is divided into logical volumes equalling the number of domains I need. This has worked pretty well for me so far, and I have been able to create over 50 domains on one system. Now, I haven't exaclty done much with 50 domains yet, but they all do at least boot.

-Andrew Theurer


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel