[linux-lvm] vgscan can't see LVM volumes on QEMU image

Roman Mashak roman.mashak at gmail.com
Fri Oct 31 14:49:54 UTC 2014


Hi Peter,

2014-10-31 10:18 GMT-04:00 Peter Rajnoha <prajnoha at redhat.com>:
[skip]
>> After I disabled the daemon, vgscan has found the volume group on the
>> image and I could mount it;however I observed that after the vgscan
>> has completed, lvmetad has started running back again (probably it
>> doesn't hurt).
>
> OK, so that's certainly a problem with pvscan not run from udev for
> nbd devices at proper time - we still need to fix this - we haven't
> covered this yet properly. It needs special treatment like we do
> in /lib/udev/rules.d/69-dm-lvm-metad.rules for MD and loop devs.
>
> The lvmetad running back - have you also disabled lvmetad in lvm.conf
> (use_lvmetad=0)?

Thanks, I didn't disable use_lvmetad in lvm.conf.

>
>>> What is the lvm2 version in use here ?
>>
>> Where can I find this information?
>>
>
> Just run "lvm version"

% lvm version
  LVM version:     2.02.106(2) (2014-04-10)
  Library version: 1.02.85 (2014-04-10)
  Driver version:  4.27.0
%

-- 
Roman Mashak




More information about the linux-lvm mailing list