All of lore.kernel.org
 help / color / mirror / Atom feed
* organizing virtual machines
@ 2005-02-21 22:53 Eric S. Johansson
  2005-02-21 23:19 ` Andrew Theurer
  2005-02-21 23:35 ` Anthony Liguori
  0 siblings, 2 replies; 9+ messages in thread
From: Eric S. Johansson @ 2005-02-21 22:53 UTC (permalink / raw)
  To: xen-devel

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.

Assuming the use of a standard OS distribution like Gentoo, it is my 
impression that each virtual machine would be updated independently just 
like they would be on separate physical hardware platforms.

Obviously, this seems like a terrible waste of space but given the 
current dogs breakfast known as /etc, I'm not sure that is another 
solution.  I have a few ideas on how to fix this that may or may not pan 
out but not the hands (rsi).

anyway, just wanted to confirm the impressions from the documentation.

next task is mastering lvm2...

---eric


-- 
http://www.salon.com/books/review/2004/12/18/heloise/index.html

The basis of Abelard's philosophy, which he taught to Heloise, was
that logic had to be applied to religion in order to arrive at the
truth.


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

^ permalink raw reply	[flat|nested] 9+ messages in thread
* RE: organizing virtual machines
@ 2005-02-21 23:05 Tom Hibbert
  2005-02-21 23:29 ` Eric S. Johansson
  0 siblings, 1 reply; 9+ messages in thread
From: Tom Hibbert @ 2005-02-21 23:05 UTC (permalink / raw)
  To: Eric S. Johansson, xen-devel

 

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

There is no requirement for seperating partitions on installation. This
is considered a best practice because in the event of a partition
faliure it increases the chance of recovering at least part of the
system. In the purists world, / is mounted read-only and the only parts
of the disk that can be written to without mounting readwrite are /var
and /home. 


>Assuming the use of a standard OS distribution like Gentoo, it is my
impression that each virtual machine would be updated independently just
like they would be on separate physical hardware platforms.

Absolutely true. However, it is possible to have a shared root/usr using
NFS, with independent /var, /home and /etc. This is a common
configuration for clusters and big iron.

>Obviously, this seems like a terrible waste of space but given the
current dogs breakfast known as /etc, I'm not sure that is another
solution.  I have a few ideas on how to fix this that may or may not pan
out but not the hands (rsi).

Dogs breakfast? Only in the event of badly constructed packages or an
inexperienced aministrator installing from source should there ever be
any configuration data stored outside of /etc. This is the sole reason
/etc exists. I don't consider it a dogs breakfast at all, even under
Gentoo.

Tom


-------------------------------------------------------
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_ide95&alloc_id\x14396&op=click

^ permalink raw reply	[flat|nested] 9+ messages in thread
[parent not found: <31F19452BA8B2042A359D849B74B1BF00C0415@aklexch01.nsp.local>]

end of thread, other threads:[~2005-02-22  2:45 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-21 22:53 organizing virtual machines Eric S. Johansson
2005-02-21 23:19 ` Andrew Theurer
2005-02-21 23:35 ` Anthony Liguori
2005-02-22  0:31   ` Mark Williamson
  -- strict thread matches above, loose matches on Subject: below --
2005-02-21 23:05 Tom Hibbert
2005-02-21 23:29 ` Eric S. Johansson
2005-02-22  0:45   ` Tim Freeman
     [not found] <31F19452BA8B2042A359D849B74B1BF00C0415@aklexch01.nsp.local>
2005-02-22  1:10 ` Eric S. Johansson
2005-02-22  2:45   ` Eric S. Johansson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.