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
    • Security Measurement
    • 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 Insights
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 Insights
  • 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-2009:0179 - Bug Fix Advisory
Issued:
2009-01-20
Updated:
2009-01-20

RHBA-2009:0179 - Bug Fix Advisory

  • Overview
  • Updated Packages

Synopsis

lvm2 bug-fix and enhancement update

Type/Severity

Bug Fix Advisory

Red Hat Insights patch analysis

Identify and remediate systems affected by this advisory.

View affected systems

Topic

An updated lvm2 package that fixes several bugs and adds enhancements is
now available.

Description

The lvm2 package contains support for Logical Volume Management (LVM).

This updated package applies the following bug fixes:

  • fixes vgchange to not activate mirror leg and log volumes directly.
  • correct configuration file line numbers in messages when parsing comments.
  • missing deactivation after activation failure in "lvcreate -Zy".
  • avoid spurious, duplicate VG messages referring to VGs that are gone.
  • temporarily disable dmeventd mirror monitoring during "lvchange --resync".
  • fixes mirror upconvert for active mirrors.
  • does not touch "/dev" in vgrename if activation is disabled.
  • metadata corruption if writing LVM1-formatted metadata with snapshots.
  • avoids overwriting in-use on-disk text metadata.
  • vgdisplay "Cur LV" field to match lvdisplay output.
  • lv_count report field to exclude hidden LVs.
  • lvresize now supports "/dev/mapper" prefix in the LV name.
  • fixes pvs, vgs, and lvs error exit statuses on some error paths.
  • prevents overwriting PVs with no metadata areas belonging to active VGs.
  • attempts to remove incomplete LVs with lvcreate zeroing/activation problems.
  • lvmdump to check for lvm and dmsetup binaries.
  • strdup memory and file descriptor leaks.
  • fixes pvresize to not allow resize if PV has two metadata areas.
  • fixes setting of volume limit count if converting to lvm1 format.
  • fixes lvmdump metadata gather option (-m) to work correctly.
  • fixes an allocation bug in text metadata format write error path.
  • fixes vgcfgbackup to properly check filename if template on commandline

is used.

  • avoids possible endless looping in pvck when analysing metadata.
  • changes lvchange exit status to indicate if any part of the operation failed.
  • fixes pvchange and pvremove to handle PVs without mdas.
  • fixes pvchange -M1 -u to preserve existing extent locations when there's

a VG.

  • fixes lvconvert to disallow snapshot and mirror combinations.
  • fixes reporting of LV fields alongside unallocated PV segments.
  • fixes and improves readahead 'auto' calculation for stripe_size.
  • fixes lvchange output for -r auto setting if auto is already set.
  • fixes return values for reporting commands when run with no PVs, LVs, or VGs.
  • fixes a segfault when using pvcreate on a device containing pool metadata.
  • fixes snapshot monitoring library to not cancel monitoring invalid

snapshot to avoid activation timeouts.

  • no longer writes out PARTIAL flag into metadata backups.
  • fixes and updates to man pages

As well, this updated package adds the following enhancements:

  • vgreduce now require --force with --removemissing to remove LVs and

dependent snapshots that were partly on the missing disks.

  • relies upon internally-cached PV labels.
  • caches VG metadata internally.
  • avoids repeatedly wiping cache with superfluous metadata re-reads in

vgscan & pvscan.

  • add devices/md_chunk_alignment to lvm.conf to enable alignment of LVs to

underlying MD (Multiple Device) chunk size

  • show "not usable" space when PV is too large for devices in pvdisplay.
  • new fsadm utility to resize or check file systems on a device.
  • validation of LV name to "pvmove -n".
  • escapes double quotes and backslashes in external metadata and

configuration data.

  • does not use block_on_error with mirror targets versions 1.12 and above.
  • lvconvert waits for completion of initial sync by default.
  • support for stacked mirrors.
  • vgremove tries to remove snapshot LV first.
  • backward-compatible flags field to on-disk format_text metadata.
  • adds --unquoted, --rows and --nameprefixes to reporting tools.
  • adds --force to lvextend and lvresize.

In clustered environments, this fix must be applied along with the
RHBA-2009:8161 lvm2-cluster advisory.

Users of lvm2 are advised to upgrade to this updated package, which
resolves these issues and adds these enhancements.

Solution

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

This update is available via Red Hat Network. Details on how to use
the Red Hat Network to apply this update are available at
http://kbase.redhat.com/faq/FAQ_58_10188

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 - 250658 - when lvchange fails on an active mirror, the error code should be non zero
  • BZ - 428005 - e2fsadm-equivalent missing for lvm2
  • BZ - 443060 - lvconvert -m0 fails when a PV is specified and all extents on the PV are allocated
  • BZ - 443419 - [RFE]Update vgsplit to accept -n LogicalVolumeName on the commandline
  • BZ - 444795 - pvcreate segfaults when devices had pool labels
  • BZ - 445867 - [RHEL5.1] LVM2: activation fails when inconsistent metadata is found
  • BZ - 446481 - request for "full snapshot" warnings to be enabled by default
  • BZ - 447905 - Error in lvchange(8)
  • BZ - 450602 - minor typo in mirror leg warning
  • BZ - 452813 - pvdisplay of 250 luns with 4 paths each (1000 paths) takes many hours or days and consumes 4+GB of RAM
  • BZ - 452982 - pvchange -x doesn't work for non-mda PVs
  • BZ - 453753 - LVM2 allows final MDA to be removed from a VG
  • BZ - 454349 - appears that dmevent needs to be restarted
  • BZ - 455670 - Mirror to mirror upconvert is broken (especially wrt cluster mirrors)
  • BZ - 458941 - vgcfgbackup fails with two similar volumegroup names
  • BZ - 461771 - Avoid unnecessary scanning devices multiple times in pv/vgscan
  • BZ - 463431 - [RHEL5.3] Excessive LVM volume alignment for MD device
  • BZ - 463520 - down convert no longer takes place after dev failure
  • BZ - 467435 - Avoid overwriting in-use on-disk text metadata by forgetting MDA_HEADER_SIZE

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.40-6.el5.src.rpm SHA-256: 30daf31374fd7c49ba3e3066062b10139099db8c93d61ebd9829b1efda16251e
x86_64
lvm2-2.02.40-6.el5.x86_64.rpm SHA-256: ab59479994b933312f5b414e0b7e17d3e6aaabb8440ac78b1cb46a53914eb6b5
ia64
lvm2-2.02.40-6.el5.ia64.rpm SHA-256: 427977e41ddc386f4c041f774c62b4f082004557e9d29e23a1977787bb9638c2
i386
lvm2-2.02.40-6.el5.i386.rpm SHA-256: 87a64fc5c1ac19b4d83e35f549fc44a9464ee2d1bdca5f5c97a8c5a5b31459d5

Red Hat Enterprise Linux Workstation 5

SRPM
lvm2-2.02.40-6.el5.src.rpm SHA-256: 30daf31374fd7c49ba3e3066062b10139099db8c93d61ebd9829b1efda16251e
x86_64
lvm2-2.02.40-6.el5.x86_64.rpm SHA-256: ab59479994b933312f5b414e0b7e17d3e6aaabb8440ac78b1cb46a53914eb6b5
i386
lvm2-2.02.40-6.el5.i386.rpm SHA-256: 87a64fc5c1ac19b4d83e35f549fc44a9464ee2d1bdca5f5c97a8c5a5b31459d5

Red Hat Enterprise Linux Desktop 5

SRPM
lvm2-2.02.40-6.el5.src.rpm SHA-256: 30daf31374fd7c49ba3e3066062b10139099db8c93d61ebd9829b1efda16251e
x86_64
lvm2-2.02.40-6.el5.x86_64.rpm SHA-256: ab59479994b933312f5b414e0b7e17d3e6aaabb8440ac78b1cb46a53914eb6b5
i386
lvm2-2.02.40-6.el5.i386.rpm SHA-256: 87a64fc5c1ac19b4d83e35f549fc44a9464ee2d1bdca5f5c97a8c5a5b31459d5

Red Hat Enterprise Linux for IBM z Systems 5

SRPM
lvm2-2.02.40-6.el5.src.rpm SHA-256: 30daf31374fd7c49ba3e3066062b10139099db8c93d61ebd9829b1efda16251e
s390x
lvm2-2.02.40-6.el5.s390x.rpm SHA-256: b41737c744955f2555185a8b5a83d9797f1edf767c30f30176548bb3bd101b3f

Red Hat Enterprise Linux for Power, big endian 5

SRPM
lvm2-2.02.40-6.el5.src.rpm SHA-256: 30daf31374fd7c49ba3e3066062b10139099db8c93d61ebd9829b1efda16251e
ppc
lvm2-2.02.40-6.el5.ppc.rpm SHA-256: 5373bf9de3a704932a59c58981b70c744c970e2ed154f2fa54169aab92445514

Red Hat Enterprise Linux Server from RHUI 5

SRPM
lvm2-2.02.40-6.el5.src.rpm SHA-256: 30daf31374fd7c49ba3e3066062b10139099db8c93d61ebd9829b1efda16251e
x86_64
lvm2-2.02.40-6.el5.x86_64.rpm SHA-256: ab59479994b933312f5b414e0b7e17d3e6aaabb8440ac78b1cb46a53914eb6b5
i386
lvm2-2.02.40-6.el5.i386.rpm SHA-256: 87a64fc5c1ac19b4d83e35f549fc44a9464ee2d1bdca5f5c97a8c5a5b31459d5

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