- Issued:
- 2009-05-18
- Updated:
- 2009-05-18
RHBA-2009:0967 - 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.
This update applies the following bug fixes:
- Corrects configuration file line numbers in messages when parsing comments.
- Missing deactivation after activation failure in "lvcreate -Zy".
- Temporarily disables dmeventd mirror monitoring during "lvchange --resync".
- Does not touch "/dev" in vgrename if activation is disabled.
- 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 vgcfgbackup to properly check filename if template on command line
is used.
- Avoids possible endless looping in pvck when analyzing 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 race in vgcreate that would result in second caller overwriting first.
- Fixes uninitialized lv_count in vgdisplay -c.
- 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.
- Accepts locking fallback_to_* options in the global lvm.conf section as
documented.
- Fixes misleading error message when there are no allocatable extents in VG.
- Fixes handling of PVs which reappeared with old metadata version.
- Fixes validation of --minor and --major in lvcreate to require -My always.
- Avoids shuffling remaining mirror images when removing one, retaining
primary.
- Prevents resizing an LV while lvconvert is using it.
- Fixes vgconvert logical volume id metadata validation.
- Fixes check for PV label write failure.
- Fixes pool metadata reading.
- When removing LV symlinks, skip any where the VG name is not determined.
- Fixes invalidation of cached PV labels including PVs without metadata areas
- Drops cached metadata when metadata write failed or VG is renamed
- Checks if requested minor device number is already used.
- Fixes fsadm failure for file systems with bigger block size.
- Fixes and updates to man pages.
As well, this update adds the following enhancements:
- vgreduce now requires --force with --removemissing to remove LVs and
dependent snapshots that were partly on the missing disks.
- Adds devices/md_chunk_alignment to lvm.conf to enable alignment of LVs to
underlying MD (Multiple Device) chunk size
- Avoids repeatedly wiping internal cache with superfluous metadata
re-reads in vgscan & pvscan.
- Adds --unquoted, --rows and --nameprefixes to reporting tools.
- Adds --force to lvextend and lvresize.
- Warns if command exits with non-zero status code without a prior log_error.
- Stops if any command fails in script-processing mode.
- Allows lvremove to remove LVs from VGs with missing PVs.
- Allows activation of LVs that are complete for VG with PVs missing, by
default.
- Treats new default activation/missing_stripe_filler "error" as an error
target.
- vgremove tries to remove snapshot LV first.
- backward-compatible flags field to on-disk format_text metadata.
In clustered environments, this fix must be applied along with the
RHBA-2009:0054 lvm2-cluster advisory.
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 4 x86_64
- Red Hat Enterprise Linux Server 4 ia64
- Red Hat Enterprise Linux Server 4 i386
- Red Hat Enterprise Linux Workstation 4 x86_64
- Red Hat Enterprise Linux Workstation 4 ia64
- Red Hat Enterprise Linux Workstation 4 i386
- Red Hat Enterprise Linux Desktop 4 x86_64
- Red Hat Enterprise Linux Desktop 4 i386
- Red Hat Enterprise Linux for IBM z Systems 4 s390x
- Red Hat Enterprise Linux for IBM z Systems 4 s390
- Red Hat Enterprise Linux for Power, big endian 4 ppc
Fixes
- BZ - 201935 - lvm "--alloc anywhere" hint is worthless with mirrors
- BZ - 204992 - snapshot attempt will fail if requested minor is already in use
- BZ - 446884 - LVM2: activation fails when inconsistent metadata is found
- BZ - 451776 - Man page missing for new fsadm tool
- BZ - 452606 - lvchange -an writes error messages when physical volumes without metadata are used
- BZ - 476692 - vgdisplay returns wrong status code when requested VG not found
- BZ - 476694 - lvm delete message calulates the number of volumes incorrectly
- BZ - 480022 - fsadm fails growing fs with block size != 1K
- BZ - 490004 - Creation of mirrored logical volume with VG extent-size of 1K fails
- BZ - 490417 - When setting max_lv for VG, LV creation can fail and produce invalid metadata
- BZ - 491680 - Documentation update is needed - LVM2 mirror: failed log device isn't replaced.
- BZ - 491902 - vgcfgrestore can segfault if some PV is missing
CVEs
(none)
References
(none)
Red Hat Enterprise Linux Server 4
SRPM | |
---|---|
lvm2-2.02.42-5.el4.src.rpm | SHA-256: 92f7329b5ec54d0c3666fa1f74a882fa4934ace16612d85c68f0590ef0cc9d22 |
x86_64 | |
lvm2-2.02.42-5.el4.x86_64.rpm | SHA-256: 2d7864fec44e69f8519a1343227ba2b75f9457e20d692a5ef3c8d37809d95aa6 |
lvm2-2.02.42-5.el4.x86_64.rpm | SHA-256: 2d7864fec44e69f8519a1343227ba2b75f9457e20d692a5ef3c8d37809d95aa6 |
ia64 | |
lvm2-2.02.42-5.el4.ia64.rpm | SHA-256: 7a0acd0c4b08cee506a012b548e1b8a6ddce2e72de180b06964263686b07810d |
lvm2-2.02.42-5.el4.ia64.rpm | SHA-256: 7a0acd0c4b08cee506a012b548e1b8a6ddce2e72de180b06964263686b07810d |
i386 | |
lvm2-2.02.42-5.el4.i386.rpm | SHA-256: c196231fa052933487f8cf36d9fd1c736685525f71f63ebc0fd46838e646e11c |
lvm2-2.02.42-5.el4.i386.rpm | SHA-256: c196231fa052933487f8cf36d9fd1c736685525f71f63ebc0fd46838e646e11c |
Red Hat Enterprise Linux Workstation 4
SRPM | |
---|---|
lvm2-2.02.42-5.el4.src.rpm | SHA-256: 92f7329b5ec54d0c3666fa1f74a882fa4934ace16612d85c68f0590ef0cc9d22 |
x86_64 | |
lvm2-2.02.42-5.el4.x86_64.rpm | SHA-256: 2d7864fec44e69f8519a1343227ba2b75f9457e20d692a5ef3c8d37809d95aa6 |
ia64 | |
lvm2-2.02.42-5.el4.ia64.rpm | SHA-256: 7a0acd0c4b08cee506a012b548e1b8a6ddce2e72de180b06964263686b07810d |
i386 | |
lvm2-2.02.42-5.el4.i386.rpm | SHA-256: c196231fa052933487f8cf36d9fd1c736685525f71f63ebc0fd46838e646e11c |
Red Hat Enterprise Linux Desktop 4
SRPM | |
---|---|
lvm2-2.02.42-5.el4.src.rpm | SHA-256: 92f7329b5ec54d0c3666fa1f74a882fa4934ace16612d85c68f0590ef0cc9d22 |
x86_64 | |
lvm2-2.02.42-5.el4.x86_64.rpm | SHA-256: 2d7864fec44e69f8519a1343227ba2b75f9457e20d692a5ef3c8d37809d95aa6 |
i386 | |
lvm2-2.02.42-5.el4.i386.rpm | SHA-256: c196231fa052933487f8cf36d9fd1c736685525f71f63ebc0fd46838e646e11c |
Red Hat Enterprise Linux for IBM z Systems 4
SRPM | |
---|---|
lvm2-2.02.42-5.el4.src.rpm | SHA-256: 92f7329b5ec54d0c3666fa1f74a882fa4934ace16612d85c68f0590ef0cc9d22 |
s390x | |
lvm2-2.02.42-5.el4.s390x.rpm | SHA-256: 8d12de11ea389c42eb462e84c93d068808c56a18da6c5f55102a6390d94698fe |
s390 | |
lvm2-2.02.42-5.el4.s390.rpm | SHA-256: bef623894f301c72afe0768a2367cc23964f4a3474a8f4b61ba8f684cb5c63e0 |
Red Hat Enterprise Linux for Power, big endian 4
SRPM | |
---|---|
lvm2-2.02.42-5.el4.src.rpm | SHA-256: 92f7329b5ec54d0c3666fa1f74a882fa4934ace16612d85c68f0590ef0cc9d22 |
ppc | |
lvm2-2.02.42-5.el4.ppc.rpm | SHA-256: 66fc046641118b64d757a4567592bb635059fa63cdfa20be12131b1d441f670d |
lvm2-2.02.42-5.el4.ppc64.rpm | SHA-256: 4966c5aeade20d5b03c5546be2815807af8f935a93db660da2ed0f55853c7fb7 |
The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.