[Bug 613619] Re: qemu-kvm misinterprets LVM volume geometry
Serge Hallyn
613619 at bugs.launchpad.net
Tue Oct 4 19:05:10 UTC 2011
Hi,
are you still having this problem?
In oneiric, I just did
qemu-img -L 10G -n kvm1 schroots
dd if=oneiric-vm.img of=/dev/schroots/kvm1
and then changed the libvirt definition of the oneiric-vm vm to have the
following disk section:
<disk type='block' device='disk'>
<source dev='/dev/schroots/kvm1'/>
<target dev='vda' bus='virtio'/>
</disk>
And the host came up fine. I did not manually try fdisk+debootstrap.
As others elsewhere have pointed out, fdisk won't clear out the whole
first part of the LVM volume which can confuse the guest kernel,
initramfs, mounter, etc. If doing
dd if=/dev/zero of=/dev/LV1/lv bs=1M
first reliably works for you, then this would not be a qemu bug.
** Changed in: qemu-kvm (Ubuntu)
Status: Triaged => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in Ubuntu.
https://bugs.launchpad.net/bugs/613619
Title:
qemu-kvm misinterprets LVM volume geometry
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/613619/+subscriptions
More information about the Ubuntu-server-bugs
mailing list