[linux-lvm] How to restore a PV ??

Brian McCullough bdmc at bdmcc-us.com
Wed Nov 15 03:45:39 UTC 2006


On Tue, Nov 14, 2006 at 08:32:48PM -0500, Brian McCullough wrote:
> On Tue, Nov 14, 2006 at 11:06:58PM +0000, Alasdair G Kergon wrote:
> > On Tue, Nov 14, 2006 at 06:00:03PM -0500, Brian McCullough wrote:
> > >   Internal error: PV segments corrupted in vg_system.
> > 
> > First update your lvm2 software to avoid that bug: you shouldn't
> > see internal errors!

OK, I went to the source and compiled the latest version of both the
library and LVM2.

Versions:

[root at clachan ~]# lvm version
  LVM version:     2.02.06 (2006-05-12)
  Library version: 1.02.12 (2006-10-13)
  Driver version:  4.6.0


pvscan:

[root at clachan ~]# pvscan
  5 PV(s) found for VG vg_system: expected 6
  Logical volume (lvol4) contains an incomplete mapping table.
  PV segment VG free_count mismatch: 1381 != 2572
  PV segment VG extent_count mismatch: 1417 != 2608
  Internal error: PV segments corrupted in vg_system.



Do I need to rebuild my kernel, too?

B-)





More information about the linux-lvm mailing list