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

Re: [Xen-users] installing fc6 as domU directly on lv´s

To: Philippe Trolliet <p.trolliet@xxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] installing fc6 as domU directly on lv´s
From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Date: Tue, 22 May 2007 13:54:56 +0100
Cc: Xen-Users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 22 May 2007 05:53:25 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <IFEMJJOBPCHGAFECGKEBAELLCMAA.p.trolliet@xxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <IFEMJJOBPCHGAFECGKEBAELLCMAA.p.trolliet@xxxxxxxxxxxxxxx>
Reply-to: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.1i
On Tue, May 22, 2007 at 02:41:06PM +0200, Philippe Trolliet wrote:
> hi,
> since 2 days i´m trying to install fedora core 6 directly on logical
> volumes. my host system is FC6 too.
> i want to have following layout in my domU:
> /dev/group/ServerRoot         mounted in domU as /
> /dev/group/ServerVar          mounted in domU as /var
> /dev/group/ServerSwap         mounted in domU as swap device for the server
> 
> my xen-config looks like this:
> 
> name = "mailserver-FC6"
> kernel = "/boot/vmlinuz-2.6.20-1.2948.fc6xen"
> memory = 512
> disk = ['phy:VolGroup00/MailserverRoot,sda1,w',
> 'phy:VolGroup00/MailserverVar,sda2,w',
> 'phy:VolGroup00/MailserverSwap,sda3,w']

That isn't going to work - the Anaconda installer will only look for
block devices, not partitions. Having partitions which are not a part
of a block device is a Xen driver hack which is not supportable. If 
you want to have 3 completely separate volumes in the host be visible
as 3 separate volumes inside the guest, then you can export them as 
individual devices 'xdva', 'xvdb', 'xvdc'. Then in Anaconda create a 
single partition on each one, eg  xvda1, xvdb1, xvdc1  which you can 
then map to /, /var and swap respectively. 

Regards,
Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users