[linux-lvm] Can't use LVM1 VG/LVs under LVM2; LV xxx: inconsistent LE count 32 != 64

Jesse Molina jesse at opendreams.net
Thu May 10 00:25:21 UTC 2007


This is confirmed as fixed.  Thanks David and Bryn for the referral to 
the fix!

I am surprised that this bug survived in the wild for so long.  I had 
unsuccessfully tried to upgrade this system several times in the last 
two years.  I had previously thought it was the funky Promise ATA 
controller in this host.

Thanks for the help.  I'll be closing Debian bug #422963 here soon.

--

For documentation/spidering purposes;

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=232397

LVM2 unable to use LVM1 striped logical volumes
LVM2 is unable to import striped LVM1 volumes



Jesse Molina wrote:
> Thanks for the replies.  I see that Debian has a lvm2 package version 2.02.24-6 out, and I'll try to install that.  However, I'll have to force the install, as 2.4 kernels are completely dead on Debian Unstable now, due to recent versions of libc6 requiring NPTL.  Hopefully I won't get into a critical dependency problem.
> 
> 
> 
> On Wed, May 09, 2007 at 10:40:26AM +0100, Bryn M. Reeves wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Jesse Molina wrote:
>>> I'm having a problem getting a Debian system from Linux kernel 2.4 to
>>> 2.6 due to LVM.  On the 2.4 kernel/LVM1, the VGs and LVs work fine,
>>> mount up, and show absolutely no sign of any problem.  However, I can't
>>> get the 2.6 kernel/LVM2 to activate the VGs at all.
>>>
>>> I've filed a Debian bug, which has additional information, here;
>>>     http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=422963
>>>
>>>
>>>
>>> The interesting error messages under 2.6 include;
>>>
>>>     "LV tmp: inconsistent LE count 32 != 64"
>>>     
>>>     "System ID sorrows1107837513 on /dev/sdd3 differs from
>>> sorrows1107837515 for volume group"
>> Hi Jesse,
>>
>> This sounds like:
>>
>> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=232397
>>
>> This is fixed upstream in versions from v2_02_24:
>> - --------
>> /cvs/lvm2/LVM2/WHATS_NEW:
>> revision 1.586
>> date: 2007/03/15 13:38:27;  author: agk;  state: Exp;  lines: +2 -2
>> Try to fix reading in of lvm1 striped LVs.
>> There are two fixes other than improving variable names and updating
>> code layout etc.
>>
>> The loop counter is incremented by area_len instead of area_len * stripes;
>>
>> the 3rd _check_stripe parameter is no longer multiplied by number of
>> stripes.
>> - --------
>>
>> Kind regards,
>> Bryn.
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.7 (GNU/Linux)
>> Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
>>
>> iD8DBQFGQZcK6YSQoMYUY94RAqenAKCLdOcbDCJSFqvDUwZsUx/yZXQebgCfTdXu
>> Nwz6xK1mCHIiiPVpHp6h0Ss=
>> =fBTO
>> -----END PGP SIGNATURE-----
>>
>> _______________________________________________
>> linux-lvm mailing list
>> linux-lvm at redhat.com
>> https://www.redhat.com/mailman/listinfo/linux-lvm
>> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
> 

-- 
# Jesse Molina
# Mail = jesse at opendreams.net
# Page = page-jesse at opendreams.net
# Cell = 1.602.323.7608
# Web  = http://www.opendreams.net/jesse/





More information about the linux-lvm mailing list