Bug#298890: lvm2: Device-mapper lookups no devices

Matsu Matsu <matsu@r9.dion.ne.jp>, 298890@bugs.debian.org
Fri, 11 Mar 2005 07:53:30 +0900 (JST)


> > Package: lvm2
> > Version: 2.00.24-1
> > Severity: normal
> > 
> > 
> > I apt-get upgraded lvm2 from lvm2_2.00.24-1_i386.deb to lvm2_2.01.04-2_i386.deb
> > and after reboot my system, device-mapper can find no device.
> > Then I can find no LV at /dev/mapper/ .
> > 
> 
> What version of libdevmapper1.01 do you have installed?  What's the
> output of pvscan and vgchange -ay?
Version of libdevmapper1.01 is "2:1.01.00-1".

With "lvm2_2.01.04-2_i386.deb",
Stdout of pvscan is "
  PV /dev/hdb1         lvm2 [115.04 GB]
  Total: 1 [115.04 GB] / in use: 0 [0   ] / in no VG: 1 [115.04 GB]
".
Stdout of vgchange -ay is nothing.

With "lvm2_2.00.24-1_i386.dev",
Stdout of pvscan is "
  PV /dev/hdb    VG vg1   lvm2 [115.04 GB / 75.04 GB free]
  PV /dev/hdb1            lvm2 [115.04 GB]
  Total: 2 [230.07 GB] / in use: 1 [115.04 GB] / in no VG: 1 [115.04 GB]
".
Stdout of vgvhange -ay is "
  ACTIVE            '/dev/vg1/lv1' [40.00 GB] inherit
".

> > I did "dpkg -i lvm2_2.00.24-1_i386.dev",
> > device-mapper find VG and LV
> > and I can find /dev/mapper/vg1-lv1.
> > 
> 
> Ok, so if I understand this correctly, downgrading from -2 to -1 fixes
> the problem?
> 
> In /etc/lvm/lvm.conf, you have set the verbosity; it might be worth
> setting that higher to see what's going on.
I didn't edit /etc/lvm/lvm.conf by hand.

=========================================================
  Matsu
  e-mail   : matsu@r9.dion.ne.jp
=========================================================