Issued:
2013-09-30
Updated:
2013-09-30

RHBA-2013:1352 - lvm2 bug fix update


Synopsis

lvm2 bug fix update

Type/Severity

Bug Fix Advisory (none)

Topic

Updated lvm2 packages that fix several bugs are now available for Red Hat Enterprise Linux 5.

Description

The lvm2 packages provide support for Logical Volume Management (LVM).

This update fixes the following bugs:

  • Previously, when the lvconvert command was used with the "--stripes" option, the required supplementary options, such as "--mirrors" or "--repair", were not enforced. Consequently, calling "lvconvert --stripes" without accompanying conversion instructions led to an incomplete conversion. With this update, a condition has been added to enforce the correct syntax. As a result, an error message is now displayed in the described scenario. (BZ#711890)

  • A mirrored logical volume (LV) can itself have a mirrored log device. Previously, a simultaneous failure of both the mirrored leg and the mirror log was not handled correctly. Consequently, I/O errors occurred on the mirror LV. The described failure case is now handled correctly and I/O errors no longer occur. (BZ#749883)

  • Due to a bug in the error condition, an attempt to up-convert an inactive mirror when there was insufficient allocatable extents led to the following error message:

    Unable to allocate extents for mirror(s). ABORTING: Failed to remove temporary mirror layer inactive_mimagetmp_3. Manual cleanup with vgcfgrestore and dmsetup may be required.

The wording of this message was possibly misleading. The bug has been fixed, and a more accurate warning message is now displayed when not enough extents are available. (BZ#773312)

  • Prior to this update, it was impossible to set the major and minor persistent numbers of a logical volume to a value outside of the range of 0-255 (8-bit). This limit has been changed, and the major number can now be set within the range of 0-4095 (12-bit), while the minor number within 0-1048575 (20-bit). (BZ#830993)

  • Previously, the mpath filtering, which is enabled by the devices/multipath_component_detection=1 setting in the lvm.conf configuration file, did not check for partitions and failed when there were partitions on multipath components. Consequently, a message about duplicate physical volumes (PV) was issued as the LVM saw two PVs with the same UUID. With this update, mpath filtering has been modified to check for partitions properly and the aforementioned error no longer occurs. (BZ#863112)

  • When there were missing physical volumes in a volume group (VG), most operations that alter the LVM meta data (such as the vgimport utility) were disallowed. Consequently, it was impossible to import and also to repair this VG. With this update, this behavior has been modified and it is now possible to use the "--force" option with vgimport to import VGs even with missing devices. (BZ#908097)

  • Prior to this update, the lvconvert utility did not check for snapshot-merge support in the kernel before initializing the merge operation. After trying to merge a snapshot logical volume (LV) on a machine without this support, the origin LV failed to activate on the next boot. With this update, lvconvert has been modified not to start a snapshot-merge if there is no support for such operation in the kernel. (BZ#913664)

Users of lvm2 are advised to upgrade to these updated packages, which fix these bugs.

Solution

Before applying this update, make sure all previously-released errata relevant to your system have been applied.

This update is available via the Red Hat Network. Details on how to use the Red Hat Network to apply this update are available at https://access.redhat.com/site/articles/11258

Affected Products

ProductVersionArch
Red Hat Enterprise Linux for Power, big endian5ppc
Red Hat Enterprise Linux for IBM z Systems5s390x
Red Hat Enterprise Linux Workstation5x86_64
Red Hat Enterprise Linux Workstation5i386
Red Hat Enterprise Linux Server5x86_64
Red Hat Enterprise Linux Server5ia64
Red Hat Enterprise Linux Server5i386
Red Hat Enterprise Linux Server from RHUI5x86_64
Red Hat Enterprise Linux Server from RHUI5i386
Red Hat Enterprise Linux Desktop5x86_64
Red Hat Enterprise Linux Desktop5i386

Updated Packages

  • lvm2-2.02.88-12.el5.src.rpm
  • lvm2-2.02.88-12.el5.ppc.rpm
  • lvm2-debuginfo-2.02.88-12.el5.ppc.rpm
  • lvm2-debuginfo-2.02.88-12.el5.x86_64.rpm
  • lvm2-2.02.88-12.el5.x86_64.rpm
  • lvm2-2.02.88-12.el5.s390x.rpm
  • lvm2-2.02.88-12.el5.ia64.rpm
  • lvm2-2.02.88-12.el5.i386.rpm
  • lvm2-debuginfo-2.02.88-12.el5.s390x.rpm
  • lvm2-debuginfo-2.02.88-12.el5.ia64.rpm
  • lvm2-debuginfo-2.02.88-12.el5.i386.rpm

Fixes

CVEs

(none)

References

(none)


Additional information