LVM2 doesn't recognise 'virtio' virtual disks (/dev/vd*)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lvm2 (Ubuntu) |
Fix Released
|
High
|
James Westby |
Bug Description
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/
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.
Changed in lvm2: | |
assignee: | nobody → james-w |
status: | Confirmed → In Progress |
Changed in lvm2: | |
status: | In Progress → Fix Released |
Followed exact same steps, had same issues.