Re: vgscan can't see LVM volumes on QEMU image

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/




[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux