Bug 232397 - LVM2 unable to use LVM1 striped logical volumes
LVM2 unable to use LVM1 striped logical volumes
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: lvm2 (Show other bugs)
4.4
All Linux
medium Severity medium
: ---
: ---
Assigned To: Petr Rockai
Corey Marthaler
: Regression
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-03-15 03:50 EDT by David Robinson
Modified: 2007-11-16 20:14 EST (History)
6 users (show)

See Also:
Fixed In Version: RHBA-2007-0287
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-05-07 20:16:44 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description David Robinson 2007-03-15 03:50:18 EDT
Description of problem:

LVM2 is unable to import striped LVM1 volumes. The following error is produced:

  LV testLV: inconsistent LE count 4 != 6
  Internal error: LV segments corrupted in testLV.
  Volume group "test" not found

Non-striped volumes import correctly - striping is the key.

Version-Release number of selected component (if applicable):

Versions of LVM2 > 2.2.01.08 are unable to import striped LVM1 volumes.
LVM-2.2.01.08 (RHEL4 U1) works, but LVM-2.2.01.14 (RHEL4 U2) and later are
broken. The problem exists in RHEL4 U4, and RHEL5.

How reproducible:
100%

Steps to Reproduce:
1. Make a block device (sdb in this example) available to RHEL3 (any update).
2. pvcreate /dev/sdb
3. vgcreate testVG /dev/sdb
4. lvcreate -L 100M -i 2 -n testLV testVG
5. mkfs.ext3 /dev/testVG/testLV
6. Move the block device to a RHEL4 >= U2 system (LVM-2.2.01.14).
7. Any LVM commands will cause the errors below, and you won't be able to
activate the volume group - it will not exist.

Actual results:

# lvscan
  LV testLV: inconsistent LE count 4 != 6
  Internal error: LV segments corrupted in testLV.
  Volume group "testVG" not found
  ACTIVE            '/dev/VolGroup00/LogVol00' [2.28 GB] inherit
  ACTIVE            '/dev/VolGroup00/LogVol01' [512.00 MB] inherit

Unable to access the LV.

Expected results:

# lvscan 
  ACTIVE            '/dev/test/test_lv' [192.00 MB] normal
  ACTIVE            '/dev/test/test2_lv' [192.00 MB] normal
  ACTIVE            '/dev/VolGroup00/LogVol00' [3.25 GB] inherit
  ACTIVE            '/dev/VolGroup00/LogVol01' [512.00 MB] inherit

Able to access the LV.

Additional info:
Comment 9 Red Hat Bugzilla 2007-05-07 20:16:44 EDT
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2007-0287.html
Comment 10 Issue Tracker 2007-06-26 14:46:42 EDT
Internal Status set to 'Resolved'
Status set to: Closed by Tech
Resolution set to: 'Security Errata'

This event sent from IssueTracker by sbradley 
 issue 115161

Note You need to log in before you can comment on or make changes to this bug.