From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Theurer Subject: Re: organizing virtual machines Date: Mon, 21 Feb 2005 17:19:09 -0600 Message-ID: <421A6C6D.8040307@us.ibm.com> References: <421A667D.4030507@harvee.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit In-Reply-To: <421A667D.4030507@harvee.org> Sender: xen-devel-admin@lists.sourceforge.net Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: "Eric S. Johansson" Cc: xen-devel@lists.sourceforge.net List-Id: xen-devel@lists.xenproject.org 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