Public bug reported:

Binary package hint: lvm2

I have several virtual servers running in kvm (both host and guest are
up-to-date hardy). Using LVM2 version 2.02.26-1ubuntu8

I've tried to enable the virtio disk bits (-drive
file=/dev/mapper/whatever,if=virtio,boot=on on the kvm command line),
but if I do that, my system hangs on boot, while trying to find the root
fs (which is on an LV).

The virtio devices are detected, and if I boot another guest in exactly
the same way (except that it's not using lvm2 for /), everything works
fine.

Adding "types = [ "virtblk", 16 ]" to the devices {} section of
/etc/lvm/lvm.conf, making sure that file gets added to initramfs (it
doesn't by default!), and then regenerating initramfs seems to solve the
problem for me.

I think the "virtblk" device should be added to a default list of
allowed devices.

** Affects: lvm2 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
LVM2 doesn't recognise 'virtio' virtual disks (/dev/vd*)
https://bugs.launchpad.net/bugs/205011
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to