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