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] HVM + physical LVM partitions with xen 4?

To: "Fajar A. Nugraha" <list@xxxxxxxxx>
Subject: Re: [Xen-users] HVM + physical LVM partitions with xen 4?
From: Marcus Furlong <furlongm@xxxxxxxx>
Date: Thu, 27 Jan 2011 12:02:40 +1100 (EST)
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 27 Jan 2011 00:58:36 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTimGhnNjg2aDjcCi3R7i4pdOOQOemEpCw+m57vkE@xxxxxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
----- Original Message -----
> From: "Fajar A. Nugraha" <list@xxxxxxxxx>
> To: "Marcus Furlong" <furlongm@xxxxxxxx>
> Cc: xen-users@xxxxxxxxxxxxxxxxxxx
> Sent: Monday, 17 January, 2011 9:17:41 PM
> Subject: Re: [Xen-users] HVM + physical LVM partitions with xen 4?
> On Mon, Jan 17, 2011 at 6:51 AM, Marcus Furlong <furlongm@xxxxxxxx>
> wrote:
> > Hi Jean-Paul,
> >
> > Removing ioemu has no effect, the same errors remains.
> 
> hmmm ... I thought the message was clear enough?
> 
> 
> >> disk = ['phy:/dev/vg/hvm-disk,ioemu:xvda1,w',
> 
> 
> >> qemu: ignoring not-understood drive `xvda1'
> 
> use something like 'phy:/dev/vg/hvm-disk,ioemu:xvda,w'
> or (depending on your version) you might need to specify hda instead
> of xvda.

Ok, thanks, that was my original question. So single partitions are not 
supported. A partition in the host system must appear as a full disk to the 
guest.

Is there any plan to support partitions in the future?

I ask because they are easier to manage from the host system, e.g. to mount a 
partition I can just use mount with the lvm device name, whereas with a disk 
partition I need to use kpartx and then find the partition. It is also useful 
for xen guests that might share a partition, e.g. two or more mutually 
exclusive xen guests (they won't ever be running at the same time) that use a 
common home partition. It also makes resizing partitions a lot easier.

Regards,
Marcus.

-- 
Marcus Furlong - VPAC Systems Administrator
http://www.vpac.org
+61 3 9925 4574

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