From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [10.34.130.202] (dhcp130-202.brq.redhat.com [10.34.130.202]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s9V9aJZ8002061 for ; Fri, 31 Oct 2014 05:36:19 -0400 Message-ID: <54535811.3050906@redhat.com> Date: Fri, 31 Oct 2014 10:36:17 +0100 From: Zdenek Kabelac MIME-Version: 1.0 References: In-Reply-To: Content-Transfer-Encoding: 7bit Subject: Re: [linux-lvm] vgscan can't see LVM volumes on QEMU image Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: LVM general discussion and development 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 ] Zdenek