[Bug 205011] [NEW] LVM2 doesn't recognise 'virtio' virtual disks (/dev/vd*)
Launchpad Bug Tracker
205011 at bugs.launchpad.net
Thu Feb 17 09:01:55 UTC 2011
You have been subscribed to a public bug by Daniel Holbach (dholbach):
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: High
Assignee: James Westby (james-w)
Status: Fix Released
--
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 Sponsors Team, which is a direct subscriber.
More information about the Ubuntu-sponsors
mailing list