Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Getting Xen to go along with LVM



haad wrote:
> Hi,
> 
> On Mon, Nov 9, 2009 at 6:33 PM, Hugo Silva <hugo%barafranca.com@localhost> 
> wrote:
>> Hello everyone,
>>
>> I've been, during the past few days, trying to run domUs backed by LVMs, so
>> far without success.
>>
>>
>>
>> Here's what I get:
>>
>> # xm create -c /usr/pkg/xen/conf/netbsd50.conf
>>
>> Using config file "/usr/pkg/xen/conf/netbsd50.conf".
>> Started domain netbsd-pv
>> : Intel 686-class, 2405MHz, id 0x6fb
>> xenbus0 at hypervisor0: Xen Virtual Bus Interface
>> xencons0 at hypervisor0: Xen Virtual Console Driver
>> xencons0: using event channel 2
>> xbd0 at xenbus0 id 1: Xen Virtual Block Device Interface
>> xennet0 at xenbus0 id 0: Xen Virtual Network Interface
>> xennet0: MAC address aa:aa:00:c4:aa:f4
>> (domU becomes unresponsive)
>>
>>
>> If I replace "disk = [ 'phy:/dev/mapper/vg00-lv0,0x1,w' ]" with disk = [
>> 'file:/usr/pkg/xen/netbsd.img,0x1,w' ], it will boot perfectly.
>>
>>
>> Nothing interesting in the logs.. (xend.log)
>> [2009-11-09 18:29:17 2891] DEBUG (DevController:166) Waiting for devices
>> irq.
>> [2009-11-09 18:29:17 2891] DEBUG (DevController:166) Waiting for devices
>> vkbd.
>> [2009-11-09 18:29:17 2891] DEBUG (DevController:166) Waiting for devices
>> vfb.
>> [2009-11-09 18:29:17 2891] DEBUG (DevController:166) Waiting for devices
>> console.
>> [2009-11-09 18:29:17 2891] DEBUG (DevController:171) Waiting for 0.
>> [2009-11-09 18:29:17 2891] DEBUG (DevController:166) Waiting for devices
>> pci.
>> [2009-11-09 18:29:17 2891] DEBUG (DevController:166) Waiting for devices
>> ioports.
>> [2009-11-09 18:29:17 2891] DEBUG (DevController:166) Waiting for devices
>> tap.
>> [2009-11-09 18:29:17 2891] DEBUG (DevController:166) Waiting for devices
>> vtpm.
>> [2009-11-09 18:29:17 2891] INFO (XendDomain:1174) Domain netbsd-pv (6)
>> unpaused.
>>
>>
>>
>> I know the logical volume is good: /dev/mapper/vg00-lv0: block special
>>
>>
>> # newfs -O2 /dev/mapper/rvg00-lv0 /dev/mapper/rvg00-lv0: 20480.0MB (41943040
>> sectors) block size 16384, fragment size 2048
>>       using 111 cylinder groups of 184.52MB, 11809 blks, 22912 inodes.
>> super-block backups (for fsck_ffs -b #) at:
>> 160, 378048, 755936, 1133824, 1511712, 1889600, 2267488, 2645376, 3023264,
>> 3401152, 3779040, 4156928, 4534816, 4912704, 5290592, 5668480, 6046368,
>> 6424256, 6802144, 7180032,
>> ...................................................................................................................................................................................
>>
>> # df -h /mnt
>> /dev/mapper/vg00-lv0       19G       2.0K        18G   0% /mnt
>>
>>
>>
>> I don't know what to try next. It would be really nice to get Xen running
>> with LVM on NetBSD!
>>
>> Any pointers welcome :)
>>
> 
> Dm driver maybe do not implement some ioctl needed by xen ?

Which ioctl's does LVM need to function ?

Christoph




Home | Main Index | Thread Index | Old Index