[linux-lvm] vgscan can't see LVM volumes on QEMU image
Zdenek Kabelac
zkabelac at redhat.com
Fri Oct 31 09:48:59 UTC 2014
Dne 31.10.2014 v 10:36 Zdenek Kabelac napsal(a):
> Dne 31.10.2014 v 02:17 Roman Mashak napsal(a):
>> Hello,
>>
>> I want to mount QEMU image of qcow2 type on Fedora 20 host. Here is
>> what commands I executed, according to the advices at
>> http://docs.openstack.org/image-guide/content/ch_modifying_images.html:
>>
>> % modprobe nbd max_part=16
>> % qemu-nbd -c /dev/nbd0 image.qcow2
>> % partprobe /dev/nbd0
>
>
> I'm mostly sure noone has added support for nbd devices to lvm2.
>
> look into /etc/lvm/lvm.conf and add in device section something like:
>
> types = [ "nbd", 16 ]
>
Ahh ignore this please - I've been having wrong impression it's something new
for qcow, but nbd is standard already support network block device.
So what is the disk layout of your qcow ?
It's purely whole PV ?
Have you tried to disable 'lvmetad' ?
What is the lvm2 version in use here ?
Zdenek
More information about the linux-lvm
mailing list