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-2009:1393 - Bug Fix Advisory
Issued:
2009-09-02
Updated:
2009-09-02

RHBA-2009:1393 - 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 several 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 pvmove to revert operation if temporary mirror creation fails.
  • Fixes metadata export for VG with missing PVs.
  • Enables use of cached metadata for pvs and pvdisplay commands.
  • Fixes segfault for vgcfgrestore on VG with missing PVs.
  • Fixes memory leaks in toolcontext error path and mirror allocation code.
  • Ignores suspended devices during repair and allows metadata correction

even when PVs are missing.

  • Unifies error messages when processing inconsistent volume group.
  • Fixes multi-extent mirror log allocation when smallest PV has only 1 extent.
  • Attempts to load dm-zero module if zero target needed but not present.
  • Forces max_lv restriction only for newly created LV.
  • Fixes vgreduce --removemissing failure exit code.
  • Always returns exit error status when locking of volume group fails.
  • Fixes mirror log convert validation question.
  • Saves and restores the previous logging level when log level is changed

internally.

  • Fixes error message when archive initialization fails.
  • Fixes lvcreate to remove unused cow volume if the snapshot creation fails.
  • Removes old metadata backup file after renaming VG.
  • Avoids scanning empty metadata areas for VG names.
  • Fixes fsadm to pass --test from lvresize and prevents from checking

mounted file system.

  • Fixes lvresize size conversion for fsadm when block size is not 1K.
  • Fixes cached volume group metadata to cope with duplicate volume group names.
  • Fixes pvs segfault when pv mda attributes requested for not available PV.
  • Fixes pvs segfault when run with orphan PV and some VG fields.
  • Fixes lvmdump /sys listing to include virtual devices directory.
  • Avoids exceeding LV size when wiping device.
  • Calculates mirror log size instead of using 1 extent.
  • Ensures requested device number is available before activating with it.
  • Fixes incorrect exit status from 'help <command>'.
  • Fixes vgrename using UUID if there are VGs with identical names.
  • Fixes segfault when invalid field given in reporting commands.
  • Copes with snapshot dependencies when removing a whole VG with lvremove.
  • Exits with non-zero status from vgdisplay if couldn't show any requested VG.
  • Fixes minimum width of devices column in reports.
  • Fixes pvs report for orphan PVs when segment attributes are requested.
  • Fixes pvs -a output to not read volume groups from non-PV devices.
  • Fixes and updates to man pages including the restriction on file

descriptors at invocation and --nameprefixes, --unquoted, --rows options in
pvs,vgs,lvs commands.

As well, this update adds the following enhancements:

  • Online resizing of mirrors is now enabled.
  • Adds vgimportclone command to import and rename duplicated volume group

(e.g. a hardware snapshot).

  • Adds --dataalignment to pvcreate to specify alignment of data area.
  • Reduces memory usage by using per volume group memory pools.
  • Detects and conditionally wipes swapspace signatures in pvcreate.
  • Adds sparse snapshot devices manipulation, e.g. lvcreate --virtualsize

(hidden zero origin).

  • Inherits readahead setting from underlying devices during activation.
  • Adds MMC (mmcblk) device type to filters.
  • Does not scan devices if reporting only attributes from PV label.
  • Adds fsadm support for reszing ext4 filesystems.
  • Adds "--refresh" functionality to vgchange and vgmknodes.
  • Adds lvs origin_size, dev_size, pv_mda_size and vg_mda_size to reports.

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 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/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 - 431760 - lvm delete message calulates the number of volumes incorrectly
  • BZ - 454645 - Bringing a snapshot of an LVM online on the same system
  • BZ - 463306 - RFE: need better worded message for upconverting --nosync mirrors
  • BZ - 476117 - vgrename on UUID renames wrong /dev node
  • BZ - 477040 - Creation of mirrored logical volume with VG extent-size of 1K fails
  • BZ - 488059 - pvcreate works incorretly with --metadatasize 4032k
  • BZ - 490298 - When setting max_lv for VG, LV creation can fail and produce invalid metadata
  • BZ - 493311 - pvdisplay of 1000 LUNs occupies large amounts of RAM, around 4GB, and a large precentage of CPU (60%)
  • BZ - 494414 - vgcfgrestore can segfault if some PV is missing
  • BZ - 501473 - pvmove on a cluster logical volume results in suspends devices
  • BZ - 501756 - Upgrade lvm2 to 2.02.46 version
  • BZ - 502671 - mirror creation asserts and core dumps if VG extent size and given log size are too small
  • BZ - 502899 - segfault during attempted mirror down convert
  • BZ - 503708 - Snapshot --virtualoriginsize extension doesn't work and cause problems in lvm metadata
  • BZ - 504312 - Several lvm2 commands can segfault during repairing inconsistent metadata
  • BZ - 504699 - failed mirror leg behavior breaks QA regression tests
  • BZ - 504877 - RFE - clean up vgimportclone output issues
  • BZ - 505143 - Automatic recovery of inconsistent volume groups fails when PVs are missing.
  • BZ - 505604 - vgreduce --removemissing deadlocks after mirror device failure

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.46-8.el5.src.rpm SHA-256: a3c6776ecf3ba5c23486f71772ed5802ac76948b2ed51e7449d879341be4b496
x86_64
lvm2-2.02.46-8.el5.x86_64.rpm SHA-256: 608f757bcac50c55da9c972ae34b24f49daf0711d3e814ebf2857c8aeb2dc5f9
ia64
lvm2-2.02.46-8.el5.ia64.rpm SHA-256: 261eb0d6d98d4edb491c9075b4c279bdeeac516ea7158a448abb57821295b459
i386
lvm2-2.02.46-8.el5.i386.rpm SHA-256: c096385ec2ba8b263eb2feb446366259441d34a3155213178628bbeae6bd6fe6

Red Hat Enterprise Linux Workstation 5

SRPM
lvm2-2.02.46-8.el5.src.rpm SHA-256: a3c6776ecf3ba5c23486f71772ed5802ac76948b2ed51e7449d879341be4b496
x86_64
lvm2-2.02.46-8.el5.x86_64.rpm SHA-256: 608f757bcac50c55da9c972ae34b24f49daf0711d3e814ebf2857c8aeb2dc5f9
i386
lvm2-2.02.46-8.el5.i386.rpm SHA-256: c096385ec2ba8b263eb2feb446366259441d34a3155213178628bbeae6bd6fe6

Red Hat Enterprise Linux Desktop 5

SRPM
lvm2-2.02.46-8.el5.src.rpm SHA-256: a3c6776ecf3ba5c23486f71772ed5802ac76948b2ed51e7449d879341be4b496
x86_64
lvm2-2.02.46-8.el5.x86_64.rpm SHA-256: 608f757bcac50c55da9c972ae34b24f49daf0711d3e814ebf2857c8aeb2dc5f9
i386
lvm2-2.02.46-8.el5.i386.rpm SHA-256: c096385ec2ba8b263eb2feb446366259441d34a3155213178628bbeae6bd6fe6

Red Hat Enterprise Linux for IBM z Systems 5

SRPM
lvm2-2.02.46-8.el5.src.rpm SHA-256: a3c6776ecf3ba5c23486f71772ed5802ac76948b2ed51e7449d879341be4b496
s390x
lvm2-2.02.46-8.el5.s390x.rpm SHA-256: ddd6c102e15af320417fceec3a02813c124f10722b5753a3fb645618a2f10ff0

Red Hat Enterprise Linux for Power, big endian 5

SRPM
lvm2-2.02.46-8.el5.src.rpm SHA-256: a3c6776ecf3ba5c23486f71772ed5802ac76948b2ed51e7449d879341be4b496
ppc
lvm2-2.02.46-8.el5.ppc.rpm SHA-256: a25fa42e63dabdcbfe37c320d2bf97b23e8e56af0409cca3161c30dd39a54451

Red Hat Enterprise Linux Server from RHUI 5

SRPM
lvm2-2.02.46-8.el5.src.rpm SHA-256: a3c6776ecf3ba5c23486f71772ed5802ac76948b2ed51e7449d879341be4b496
x86_64
lvm2-2.02.46-8.el5.x86_64.rpm SHA-256: 608f757bcac50c55da9c972ae34b24f49daf0711d3e814ebf2857c8aeb2dc5f9
i386
lvm2-2.02.46-8.el5.i386.rpm SHA-256: c096385ec2ba8b263eb2feb446366259441d34a3155213178628bbeae6bd6fe6

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