[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] Re: [Xen-admin] couple of xen questions
[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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |