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

[Xen-devel] Re: [Xen-admin] couple of xen questions

To: "Brondo, Greg" <Greg.Brondo@xxxxxxxxxxx>
Subject: [Xen-devel] Re: [Xen-admin] couple of xen questions
From: Ian Pratt <Ian.Pratt@xxxxxxxxxxxx>
Date: Thu, 18 Nov 2004 00:01:21 +0000
Cc: "Ian Pratt" <Ian.Pratt@xxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 18 Nov 2004 00:52:46 +0000
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: Your message of "Wed, 17 Nov 2004 17:55:53 CST." <88D72496C88A28468E5D65D8679B5B1002DED266@xxxxxxxxxxxxxxxxxxxxxxx>
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>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
[This is best off on the xen-devel list -- I've cc'ed it.]

> I run 'xm create vm_deb'.  Inside the vm_deb file the kernel is pointing
> at /boot/vmlinuz-2.6.9-xenU which is on the domain 0 filesystem.  If I
> try and create 2 domains with loopbacks that use the same kernel what
> will happen?  Also I noticed that inside my loopback the /boot directory
> isn't there any longer...

At the moment, the kernel always comes from the dom0 filesystem
(though the patch I suggested will also then allow it to come
from the virtual disk). If your kernel needs modules, you need to
install these within the virtual disk.

There's no problem at all with using the same kernel image for
two domains.

Ian 
 

> -----Original Message-----
> From: Ian Pratt [mailto:Ian.Pratt@xxxxxxxxxxxx] 
> Sent: Wednesday, November 17, 2004 4:38 PM
> To: Brondo, Greg
> Cc: Ian Pratt; Ian.Pratt@xxxxxxxxxxxx
> Subject: Re: [Xen-admin] couple of xen questions
> 
> > Ok, I promise this is my LAST question (yeah right)....BTW -- thanks
> for
> > the quick responses.
> > 
> > Then xenU kernel that is provided:  What would happen if I used it to
> > boot 2 or more loopback filesystem images?
> 
> Not sure I understand what you mean.
> 
> You can export multiple loopback file systems to a single
> domain. e.g. you can give a domain a hda1 and a hda4 backed by
> different files (or LVM volumes, physical partitions etc).
> 
> If you're starting multiple domains you obviously need to give
> them there own root file system (otherwise they'll corrupt each
> other's file system). If you want to save disk space you can use
> LVM CoW snapshots, or just give each domain its own / and have a
> shared read-only /usr in a different file system
> image. Alternatively, use NFS root etc.
> 
> 
> Ian
> 
> 
 -=- MIME -=- 
Hmm.  Ok, let me try this again:

I run 'xm create vm_deb'.  Inside the vm_deb file the kernel is pointing
at /boot/vmlinuz-2.6.9-xenU which is on the domain 0 filesystem.  If I
try and create 2 domains with loopbacks that use the same kernel what
will happen?  Also I noticed that inside my loopback the /boot directory
isn't there any longer...

Thanks!
Greg B.

-----Original Message-----
From: Ian Pratt [mailto:Ian.Pratt@xxxxxxxxxxxx]=20
Sent: Wednesday, November 17, 2004 4:38 PM
To: Brondo, Greg
Cc: Ian Pratt; Ian.Pratt@xxxxxxxxxxxx
Subject: Re: [Xen-admin] couple of xen questions

> Ok, I promise this is my LAST question (yeah right)....BTW -- thanks
for
> the quick responses.
>=20
> Then xenU kernel that is provided:  What would happen if I used it to
> boot 2 or more loopback filesystem images?

Not sure I understand what you mean.

You can export multiple loopback file systems to a single
domain. e.g. you can give a domain a hda1 and a hda4 backed by
different files (or LVM volumes, physical partitions etc).

If you're starting multiple domains you obviously need to give
them there own root file system (otherwise they'll corrupt each
other's file system). If you want to save disk space you can use
LVM CoW snapshots, or just give each domain its own / and have a
shared read-only /usr in a different file system
image. Alternatively, use NFS root etc.


Ian





-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Re: [Xen-admin] couple of xen questions, Ian Pratt <=