- Issued:
- 2008-05-21
- Updated:
- 2008-05-21
RHBA-2008:0378 - 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
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 fixes the following bugs:
- changes "vgsplit -l", for the unimplemented "--list" option, into
"--maxlogicalvolumes".
- fixes the detection of PVs that have no metadata.
- prevents overwriting PVs with no metadata areas belonging to active VGs.
- fixes the "lvcreate --addtag" option to drop the "@" prefix from the
name.
- prevents the "lvconvert -s" command from using same LV as the origin and
the snapshot.
- fixes the human-readable output for odd numbers of sectors.
- fixes missing VG unlocks in some "pvchange" error paths.
- ignores and fixes any excessive device sizes found in metadata.
- fixes error messages when fixing PV sizes in LVM2 metadata.
- detects command line PE values that exceed their 32-bit range.
- fixes snapshot copy on write (COW) area deactivation if the origin is not
active.
- prints "--help" to standard output, instead of standard error output. As
well, after a command line processing error, help text is not longer
printed, but rather the "--help" option is suggested.
- prints warnings to standard error output, instead of standard output.
- updates to man pages, including the "--uuid" argument, and the
"lvdisplay" command.
- more information about clusters has been added to the output of
"lvmdump".
- kernel and Device-mapper target versions have been added to "lvmdump".
- fixes the "pvs -a" command, so that it detect VGs of PVs without metadata
areas.
As well, this updated package adds the following enhancements:
- adds metadata area, segment, and convert fields to reporting commands.
- updates "vgsplit" to accept an existing VG as a destination.
- adds a preview of the snapshot monitoring library. Refer to the
lvm.conf(5) man page for details.
- adds sizes with the "lvcreate --readahead" command.
- adds support for the full read-ahead setting.
- sets the default read-ahead value to twice the maximum stripe size.
- adds LVM2 version to the "Generated by" comments in metadata.
- detects MD superblocks versions 1.0, 1.1 and 1.2.
- adds the "%PVS" extents option to the "lvresize", "lvextend", and
"lvcreate" commands.
- adds support for renaming mirrored LVs.
- adds the "--mirrorlog" argument to specify a log type for mirrors.
- adds Sun Microsystems LDom virtual block device (vdisk) and ps3disk to
filters.
- the "vgsplit" command now handles an entire VG as a "vgrename".
- a warning is now displayed when running LVM2 commands as a non-root
user.
- adds a "vgremove -f" option, to forcefully remove a VG, even when LVs
still exist.
In clustered environments, this fix must be applied along with the
RHBA-2008:0084 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 - 245563 - lvmdiskscan misreports volume counts when run in lvm shell
- BZ - 246115 - vgsplit should allow all pvs in vg to be split out (vgrename)
- BZ - 252150 - can't move lvs out from a metadatacopies=0 pv
- BZ - 291411 - SELinux is preventing /usr/sbin/lvm (lvm_t) "write" to .cache (lvm_etc_t)
- BZ - 363931 - pvcreate allows overwrite PV of another VG if created with no metadata areas
- BZ - 421191 - vgchange man page is missing --uuid
- BZ - 427294 - snap creation on inactive lv causes an invaild and "100% full" snapshot
- BZ - 427360 - request for "full snapshot" warnings
- BZ - 429118 - non root users should be able to use the display cmds
- BZ - 429122 - lvextend should default to the size of the pv + current size of lv
- BZ - 429124 - lvm mirror doesn't lose it's "M" --nosync attribute after being down and the up converted
- BZ - 429342 - regression: nosync mirror creation is broken
- BZ - 430540 - cmdline resynchronization corrupts mirror
- BZ - 433955 - Fix lvconvert regressions
- BZ - 438249 - vgsplit causes 'cluster request' failure
CVEs
(none)
References
(none)
Red Hat Enterprise Linux Server 5
SRPM | |
---|---|
lvm2-2.02.32-4.el5.src.rpm | SHA-256: d009bad6e280461bf4f1a72738a8a2bbd3de302e8867c3259810af08444b7f44 |
x86_64 | |
lvm2-2.02.32-4.el5.x86_64.rpm | SHA-256: be19340d934400aafdb3e06b771d87b357cbe70e1b43f228cae8707ee08ac063 |
ia64 | |
lvm2-2.02.32-4.el5.ia64.rpm | SHA-256: e0e95101e049acf21a6dd46bf6d2c6304459d77a192f8badd2d15e1ed4155301 |
i386 | |
lvm2-2.02.32-4.el5.i386.rpm | SHA-256: f67228b8b214eb09fad9aa022a0f8da4cf8e503ee0b74ed76a72e8b0cd9500f3 |
Red Hat Enterprise Linux Workstation 5
SRPM | |
---|---|
lvm2-2.02.32-4.el5.src.rpm | SHA-256: d009bad6e280461bf4f1a72738a8a2bbd3de302e8867c3259810af08444b7f44 |
x86_64 | |
lvm2-2.02.32-4.el5.x86_64.rpm | SHA-256: be19340d934400aafdb3e06b771d87b357cbe70e1b43f228cae8707ee08ac063 |
i386 | |
lvm2-2.02.32-4.el5.i386.rpm | SHA-256: f67228b8b214eb09fad9aa022a0f8da4cf8e503ee0b74ed76a72e8b0cd9500f3 |
Red Hat Enterprise Linux Desktop 5
SRPM | |
---|---|
lvm2-2.02.32-4.el5.src.rpm | SHA-256: d009bad6e280461bf4f1a72738a8a2bbd3de302e8867c3259810af08444b7f44 |
x86_64 | |
lvm2-2.02.32-4.el5.x86_64.rpm | SHA-256: be19340d934400aafdb3e06b771d87b357cbe70e1b43f228cae8707ee08ac063 |
i386 | |
lvm2-2.02.32-4.el5.i386.rpm | SHA-256: f67228b8b214eb09fad9aa022a0f8da4cf8e503ee0b74ed76a72e8b0cd9500f3 |
Red Hat Enterprise Linux for IBM z Systems 5
SRPM | |
---|---|
lvm2-2.02.32-4.el5.src.rpm | SHA-256: d009bad6e280461bf4f1a72738a8a2bbd3de302e8867c3259810af08444b7f44 |
s390x | |
lvm2-2.02.32-4.el5.s390x.rpm | SHA-256: 45bd2d3f7ecfa165d77424ce03fa14d017c5880b25bf38fad7b057a8d7d3d004 |
Red Hat Enterprise Linux for Power, big endian 5
SRPM | |
---|---|
lvm2-2.02.32-4.el5.src.rpm | SHA-256: d009bad6e280461bf4f1a72738a8a2bbd3de302e8867c3259810af08444b7f44 |
ppc | |
lvm2-2.02.32-4.el5.ppc.rpm | SHA-256: 4130740a0c2127f081cf962deae30916412aae94c102696ea2c516496e036ca2 |
Red Hat Enterprise Linux Server from RHUI 5
SRPM | |
---|---|
lvm2-2.02.32-4.el5.src.rpm | SHA-256: d009bad6e280461bf4f1a72738a8a2bbd3de302e8867c3259810af08444b7f44 |
x86_64 | |
lvm2-2.02.32-4.el5.x86_64.rpm | SHA-256: be19340d934400aafdb3e06b771d87b357cbe70e1b43f228cae8707ee08ac063 |
i386 | |
lvm2-2.02.32-4.el5.i386.rpm | SHA-256: f67228b8b214eb09fad9aa022a0f8da4cf8e503ee0b74ed76a72e8b0cd9500f3 |
The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.