Skip to navigation Skip to main content

Utilities

  • Subscriptions
  • Downloads
  • Red Hat Console
  • Get Support
Red Hat Customer Portal
  • Subscriptions
  • Downloads
  • Red Hat Console
  • Get Support
  • Products

    Top Products

    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    All Products

    Downloads and Containers

    • Downloads
    • Packages
    • Containers

    Top Resources

    • Documentation
    • Product Life Cycles
    • Product Compliance
    • Errata
  • Knowledge

    Red Hat Knowledge Center

    • Knowledgebase Solutions
    • Knowledgebase Articles
    • Customer Portal Labs
    • Errata

    Top Product Docs

    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    All Product Docs

    Training and Certification

    • About
    • Course Index
    • Certification Index
    • Skill Assessment
  • Security

    Red Hat Product Security Center

    • Security Updates
    • Security Advisories
    • Red Hat CVE Database
    • Errata

    References

    • Security Bulletins
    • Severity Ratings
    • Security Data

    Top Resources

    • Security Labs
    • Backporting Policies
    • Security Blog
  • Support

    Red Hat Support

    • Support Cases
    • Troubleshoot
    • Get Support
    • Contact Red Hat Support

    Red Hat Community Support

    • Customer Portal Community
    • Community Discussions
    • Red Hat Accelerator Program

    Top Resources

    • Product Life Cycles
    • Customer Portal Labs
    • Red Hat JBoss Supported Configurations
    • Red Hat Lightspeed
Or troubleshoot an issue.

Select Your Language

  • English
  • Français
  • 한국어
  • 日本語
  • 中文 (中国)

Infrastructure and Management

  • Red Hat Enterprise Linux
  • Red Hat Satellite
  • Red Hat Subscription Management
  • Red Hat Lightspeed
  • Red Hat Ansible Automation Platform

Cloud Computing

  • Red Hat OpenShift
  • Red Hat OpenStack Platform
  • Red Hat OpenShift
  • Red Hat OpenShift AI
  • Red Hat OpenShift Dedicated
  • Red Hat Advanced Cluster Security for Kubernetes
  • Red Hat Advanced Cluster Management for Kubernetes
  • Red Hat Quay
  • Red Hat OpenShift Dev Spaces
  • Red Hat OpenShift Service on AWS

Storage

  • Red Hat Gluster Storage
  • Red Hat Hyperconverged Infrastructure
  • Red Hat Ceph Storage
  • Red Hat OpenShift Data Foundation

Runtimes

  • Red Hat Runtimes
  • Red Hat JBoss Enterprise Application Platform
  • Red Hat Data Grid
  • Red Hat JBoss Web Server
  • Red Hat build of Keycloak
  • Red Hat support for Spring Boot
  • Red Hat build of Node.js
  • Red Hat build of Quarkus

Integration and Automation

  • Red Hat Application Foundations
  • Red Hat Fuse
  • Red Hat AMQ
  • Red Hat 3scale API Management
All Products
Red Hat Product Errata RHBA-2011:0052 - Bug Fix Advisory
Issued:
2011-01-13
Updated:
2011-01-13

RHBA-2011:0052 - Bug Fix Advisory

  • Overview
  • Updated Packages

Synopsis

lvm2 bug fix and enhancement update

Type/Severity

Bug Fix Advisory

Red Hat Lightspeed patch analysis

Identify and remediate systems affected by this advisory.

View affected systems

Topic

Updated lvm2 packages that fix bugs and add enhancements are now available.

Description

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

This update applies the following bug fixes:

  • Fixes incorrect removal of symlinks after LV deactivation fails.
  • Fixes vgremove to allow removal of VG with missing PVs.
  • Requires --restorefile when using pvcreate --uuid.
  • Never scans internal LVM devices directly to avoid deadlock.
  • Fixes allocation of wrong number of mirror logs with 'remove' fault policy.
  • Checks if LV with specified name already exists when splitting a mirror.
  • Fixes possible hang when all mirror images of a mirrored log fail.
  • Ensures region_size of mirrored log does not exceed its full size.
  • Does not return error code when using -o help with LVM reports.
  • Requires partial option in lvchange --refresh for partial LVs.
  • Do not merge old device cache after we run full scan to properly update cache
  • Fixes truncated total size displayed by pvscan.
  • Disallows the addition of mirror images while a conversion is happening.
  • Disallows primary mirror image removal when mirror is not in-sync.
  • Fixes return code of pvmove --abort PV.
  • Fixes pvmove --abort to remove even for empty pvmove LV.
  • Fixes pvmove allocation to take existing parallel stripes into account.
  • Fixes --alloc contiguous policy only to allocate one set of parallel areas.
  • Avoids scanning all pvs in the system if operating on a device with metadata

areas.

  • Suppresses repeated errors about the same missing PV uuids.
  • Bypasses full device scans when using internally-cached VG metadata.
  • Runs only do one full device scan during each read of text format metadata.
  • Stops dmeventd trying to access already-removed snapshots.
  • Fixes allocation code not to stop at the first area of a PV that fits.
  • Keeps log type consistent when changing mirror image count.
  • Corrects activated or deactivated text in vgchange summary message.
  • Fixes lvm shell crash when input is entirely whitespace.
  • Fixes fsadm command to properly handle user's break action and --dry-run

option.

  • Fails with correct error message when creating a too-small snapshot.

As well, this update adds the following enhancements:

  • Adds "devices/default_data_alignment" to lvm.conf.
  • Allows aborting if MD/swap signature is found in pvcreate.
  • Detects LUKS signature in pvcreate.
  • Allows to set limit for repeated access to broken devices by

disable_after_error_count option in to lvm.conf.

  • Adds --norestorefile option to pvcreate.
  • Use built-in rule for device aliases which prefers more user friendly device

names.

  • Handles failure of all mirrored log devices and all but one mirror leg.
  • Makes vgck warn about missing PVs.
  • Adds metadata/vgmetadatacopies to lvm.conf and --[vg]metadatacopies option to

allow metadata balancing (select number of mdas to use in a VG).

  • Adds --metadataignore to pvcreate,pvchange and vgextend to set metadata

ignore bit.

  • Adds vg_mda_copies, pv_mda_used_count and vg_mda_used_count to reports.
  • Adds man pages for lvmconf and non-existent lvmsadc and lvmsar tools.
  • Adds --force, --nofsck and --resizefs to lvresize/extend/reduce man pages.
  • Adds --sysinit compound option to vgchange and lvchange.
  • Allows incomplete mirror restore in lvconvert --repair upon insufficient

space.

  • Allows VGs with active LVs to be renamed.
  • Permits mirror image LVs to be striped in lvcreate, lvresize and lvconvert.
  • Adds ability to create mirrored logs for mirror LVs.
  • Adds --monitor and --ignoremonitoring to lvcreate.
  • Adds default alternative to mlockall using mlock to reduce pinned memory size.
  • Adds --splitmirrors to lvconvert to split off part of a mirror.
  • Adds --poll flag to vgchange and lvchange to control background daemon launch.
  • Removes PVs flagged as missing in vgreduce --removemissing --force.
  • Adds vgextend --restoremissing to enable reappeared PVs.

Users of lvm2 are advised to upgrade to these updated packages, which
resolve these issues and add these enhancements.

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
http://kbase.redhat.com/faq/docs/DOC-11259

Affected Products

  • Red Hat Enterprise Linux Server 5 x86_64
  • Red Hat Enterprise Linux Server 5 ia64
  • Red Hat Enterprise Linux Server 5 i386
  • Red Hat Enterprise Linux Workstation 5 x86_64
  • Red Hat Enterprise Linux Workstation 5 i386
  • Red Hat Enterprise Linux Desktop 5 x86_64
  • Red Hat Enterprise Linux Desktop 5 i386
  • Red Hat Enterprise Linux for IBM z Systems 5 s390x
  • Red Hat Enterprise Linux for Power, big endian 5 ppc
  • Red Hat Enterprise Linux Server from RHUI 5 x86_64
  • Red Hat Enterprise Linux Server from RHUI 5 i386

Fixes

  • BZ - 232499 - 'lvchange -a' with VG argument may cause "Unable" messages for hidden LVs
  • BZ - 486994 - RFE: Improve error message if unable to activate lv due to tags.
  • BZ - 537913 - Volume Group doesn't recover if PV disappears and later reappers
  • BZ - 541357 - "event registration failed" when creating snapshots
  • BZ - 547895 - lvm needs to honor current log setup when up converting corelog mirrors
  • BZ - 549174 - lvm fails with internal error if vgcreate run on unknown device
  • BZ - 552721 - fsadm man page has typos
  • BZ - 559351 - "allocated" typo in Inconsistent metadata warning
  • BZ - 560105 - allocate fault policy doesn't work if 2 mimages are failed but there's only 1 free PV
  • BZ - 560111 - allocate fault policy doesn't work if 1 mimage and the mlog are failed but there's only 1 free PV
  • BZ - 564088 - core log or linear conversion doesn't take place when multiple mirrors sustain log failures
  • BZ - 564516 - mirror log fault policies do not appear to apply to 2 device (--alloc anywhere) mirrors
  • BZ - 568138 - lvconvert --repair does not deal with transient errors
  • BZ - 578413 - vgremove does not take blocking lock and fails if run concurrently with other lvm commands
  • BZ - 580155 - The pvmove command will allow you to get multiple slices of a logical volume on one pv device
  • BZ - 580486 - lvchange -an fails for an lv in use but deletes symlink /dev/VGNAME/LVNAME
  • BZ - 581611 - CRM#2000874 - lvm should disallow removal of primary image during down-convert
  • BZ - 582330 - rpm -V fails because of changed lvm.conf
  • BZ - 585328 - down converting with a running up convert in progress causes the running up convert to run indefinately
  • BZ - 586980 - Errors when attempting to install both lvm and lvm-cluster debuginfo pkgs
  • BZ - 587063 - Unable to create 1 extent snapshot on 1k VG
  • BZ - 588441 - repair failure on subset of cluster causes mirror volume corruption
  • BZ - 589805 - lvconvert fails with inactive LVs
  • BZ - 590017 - pvscan miscounts total TB
  • BZ - 592428 - [-r|--resizefs] and [-n|--nofsck] are not documented in the lvextend man page
  • BZ - 592967 - Boot fails with LVM logging to file and / not on LV
  • BZ - 598886 - LVM2: lvchange --refresh returns without error when pvs are missing
  • BZ - 617972 - vgck does not fail when PV (which contains no mda areas) is missing
  • BZ - 627541 - Upgrade lvm2 to 2.02.73 version
  • BZ - 627701 - Move liblvm2cmd.so from /usr/lib to /lib
  • BZ - 637936 - killing both redundant logs causes deadlock
  • BZ - 638283 - Convey need for snapshot-merge target in lvconvert error message and man page.
  • BZ - 642055 - lvconvert appears to ignore the --yes and --force options
  • BZ - 643007 - Crashing of pvs/lvs/... commands
  • BZ - 643365 - online resize of LV/ext4 corrupts data
  • BZ - 658216 - Required --restorefile argument breaks compatibility with vdsm
  • BZ - 659755 - Disable snapshots of mirrors in RHEL5

CVEs

(none)

References

(none)

Note: More recent versions of these packages may be available. Click a package name for more details.

Red Hat Enterprise Linux Server 5

SRPM
lvm2-2.02.74-5.el5.src.rpm SHA-256: 1f8b8678db33a66f914e9e1a4b6639be2560c9d232dc83b21bdcc63596a9bc91
x86_64
lvm2-2.02.74-5.el5.x86_64.rpm SHA-256: a019e9afda46c29d13b96b0fd26236c5fb12cff058641296dd0b1db2b5242121
ia64
lvm2-2.02.74-5.el5.ia64.rpm SHA-256: 65900ec461520afb8773e8f5be09a2c17628bc7c8e38fb6c2f1aadf595821924
i386
lvm2-2.02.74-5.el5.i386.rpm SHA-256: b307b404e7731eb45e862bc8afc4b35846d14b6820e568cbc0a77642b3852d5e

Red Hat Enterprise Linux Workstation 5

SRPM
lvm2-2.02.74-5.el5.src.rpm SHA-256: 1f8b8678db33a66f914e9e1a4b6639be2560c9d232dc83b21bdcc63596a9bc91
x86_64
lvm2-2.02.74-5.el5.x86_64.rpm SHA-256: a019e9afda46c29d13b96b0fd26236c5fb12cff058641296dd0b1db2b5242121
i386
lvm2-2.02.74-5.el5.i386.rpm SHA-256: b307b404e7731eb45e862bc8afc4b35846d14b6820e568cbc0a77642b3852d5e

Red Hat Enterprise Linux Desktop 5

SRPM
lvm2-2.02.74-5.el5.src.rpm SHA-256: 1f8b8678db33a66f914e9e1a4b6639be2560c9d232dc83b21bdcc63596a9bc91
x86_64
lvm2-2.02.74-5.el5.x86_64.rpm SHA-256: a019e9afda46c29d13b96b0fd26236c5fb12cff058641296dd0b1db2b5242121
i386
lvm2-2.02.74-5.el5.i386.rpm SHA-256: b307b404e7731eb45e862bc8afc4b35846d14b6820e568cbc0a77642b3852d5e

Red Hat Enterprise Linux for IBM z Systems 5

SRPM
lvm2-2.02.74-5.el5.src.rpm SHA-256: 1f8b8678db33a66f914e9e1a4b6639be2560c9d232dc83b21bdcc63596a9bc91
s390x
lvm2-2.02.74-5.el5.s390x.rpm SHA-256: 4ab48eede4e32e339af6e05d6ef14c1d5f6673f4f4631b557e0bb13152481530

Red Hat Enterprise Linux for Power, big endian 5

SRPM
lvm2-2.02.74-5.el5.src.rpm SHA-256: 1f8b8678db33a66f914e9e1a4b6639be2560c9d232dc83b21bdcc63596a9bc91
ppc
lvm2-2.02.74-5.el5.ppc.rpm SHA-256: 6f75a6444e2a2a757ac71a2a19cd95d4868c99f31a8f6f50100d45b55d1b27f3

Red Hat Enterprise Linux Server from RHUI 5

SRPM
lvm2-2.02.74-5.el5.src.rpm SHA-256: 1f8b8678db33a66f914e9e1a4b6639be2560c9d232dc83b21bdcc63596a9bc91
x86_64
lvm2-2.02.74-5.el5.x86_64.rpm SHA-256: a019e9afda46c29d13b96b0fd26236c5fb12cff058641296dd0b1db2b5242121
i386
lvm2-2.02.74-5.el5.i386.rpm SHA-256: b307b404e7731eb45e862bc8afc4b35846d14b6820e568cbc0a77642b3852d5e

The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.

Red Hat LinkedIn YouTube Facebook X, formerly Twitter

Quick Links

  • Downloads
  • Subscriptions
  • Support Cases
  • Customer Service
  • Product Documentation

Help

  • Contact Us
  • Customer Portal FAQ
  • Log-in Assistance

Site Info

  • Trust Red Hat
  • Browser Support Policy
  • Accessibility
  • Awards and Recognition
  • Colophon

Related Sites

  • redhat.com
  • developers.redhat.com
  • connect.redhat.com
  • cloud.redhat.com

Red Hat legal and privacy links

  • About Red Hat
  • Jobs
  • Events
  • Locations
  • Contact Red Hat
  • Red Hat Blog
  • Inclusion at Red Hat
  • Cool Stuff Store
  • Red Hat Summit
© 2025 Red Hat

Red Hat legal and privacy links

  • Privacy statement
  • Terms of use
  • All policies and guidelines
  • Digital accessibility