Mailing List Archive

Re: [Xen-users] Issues migrating to xen 4.1 / lvm vg for disk
On Sun, Apr 10, 2011 at 12:56:05PM +0800, Sylvain CHEVALIER wrote:
> Hi,
>
> We just migrated xen on gentoo on amd64 from 4.0 to 4.1 and
> encountered a few issues that were not documented. Here is how we
> solved them and what issues are remaining:
>
> 1. Our config files were referring to the LVM devices like
> /dev/vg/domU-root with disk = [ 'phy:vg/domU-root,sda1,w' ]. This does
> not work anymore, we have to include '/dev/': disk = [
> 'phy:/dev/vg/domU-root,sda1,w' ].
>

Hello,

I added xen-devel to CC list.
(I'll reply your other questions on another email.)

-- Pasi



_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
Re: Re: [Xen-users] Issues migrating to xen 4.1 / lvm vg for disk [ In reply to ]
Hello,

(added Ian as CC).

While talking about supported disk configuration syntax,
I remembered this report again..

Sylvain: Did you use 'xl' or 'xm' ?

-- Pasi

On Sun, Apr 10, 2011 at 10:26:22PM +0300, Pasi Kärkkäinen wrote:
> On Sun, Apr 10, 2011 at 12:56:05PM +0800, Sylvain CHEVALIER wrote:
> > Hi,
> >
> > We just migrated xen on gentoo on amd64 from 4.0 to 4.1 and
> > encountered a few issues that were not documented. Here is how we
> > solved them and what issues are remaining:
> >
> > 1. Our config files were referring to the LVM devices like
> > /dev/vg/domU-root with disk = [ 'phy:vg/domU-root,sda1,w' ]. This does
> > not work anymore, we have to include '/dev/': disk = [
> > 'phy:/dev/vg/domU-root,sda1,w' ].
> >
>
> Hello,
>
> I added xen-devel to CC list.
> (I'll reply your other questions on another email.)
>
> -- Pasi
>


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
Re: Re: [Xen-users] Issues migrating to xen 4.1 / lvm vg for disk [ In reply to ]
Hi Pasi,

Thanks a lot for following up. We had to change this part of our
config files when we moved from xm to xl.

Sylvain

On Fri, Apr 29, 2011 at 3:33 AM, Pasi Kärkkäinen <pasik@iki.fi> wrote:
> Hello,
>
> (added Ian as CC).
>
> While talking about supported disk configuration syntax,
> I remembered this report again..
>
> Sylvain: Did you use 'xl' or 'xm' ?
>
> -- Pasi
>
> On Sun, Apr 10, 2011 at 10:26:22PM +0300, Pasi Kärkkäinen wrote:
>> On Sun, Apr 10, 2011 at 12:56:05PM +0800, Sylvain CHEVALIER wrote:
>> > Hi,
>> >
>> > We just migrated xen on gentoo on amd64 from 4.0 to 4.1 and
>> > encountered a few issues that were not documented. Here is how we
>> > solved them and what issues are remaining:
>> >
>> > 1. Our config files were referring to the LVM devices like
>> > /dev/vg/domU-root with disk = [ 'phy:vg/domU-root,sda1,w' ]. This does
>> > not work anymore, we have to include '/dev/': disk = [
>> > 'phy:/dev/vg/domU-root,sda1,w' ].
>> >
>>
>> Hello,
>>
>> I added xen-devel to CC list.
>> (I'll reply your other questions on another email.)
>>
>> -- Pasi
>>
>
>

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
Re: Re: [Xen-users] Issues migrating to xen 4.1 / lvm vg for disk [ In reply to ]
> >> On Sun, Apr 10, 2011 at 12:56:05PM +0800, Sylvain CHEVALIER wrote:
> >> > 1. Our config files were referring to the LVM devices like
> >> > /dev/vg/domU-root with disk = [ 'phy:vg/domU-root,sda1,w' ]. This does
> >> > not work anymore, we have to include '/dev/': disk = [
> >> > 'phy:/dev/vg/domU-root,sda1,w' ].

This seems like a bug in xl's implementation of the syntax specification
(docs/misc/xl-disk-configuration.txt), which states that any path which
doesn't start with a / should have "/dev/" prepended (IOW non-absolute
paths are relative to /dev/).

Anyone fancy knocking up a patch?

Ian.


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