All of lore.kernel.org
 help / color / mirror / Atom feed
From: Zdenek Kabelac <zkabelac@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] vgscan can't see LVM volumes on QEMU image
Date: Fri, 31 Oct 2014 10:48:59 +0100	[thread overview]
Message-ID: <54535B0B.50700@redhat.com> (raw)
In-Reply-To: <54535811.3050906@redhat.com>

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

  reply	other threads:[~2014-10-31  9:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-31  1:17 [linux-lvm] vgscan can't see LVM volumes on QEMU image Roman Mashak
2014-10-31  9:36 ` Zdenek Kabelac
2014-10-31  9:48   ` Zdenek Kabelac [this message]
2014-10-31 13:00     ` Roman Mashak
2014-10-31 14:13       ` Marian Csontos
2014-10-31 14:50         ` Roman Mashak
2014-10-31 14:18       ` Peter Rajnoha
2014-10-31 14:49         ` Roman Mashak

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54535B0B.50700@redhat.com \
    --to=zkabelac@redhat.com \
    --cc=linux-lvm@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.