- Issued:
- 2008-07-24
- Updated:
- 2008-07-24
RHBA-2008:0776 - 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.
This updated package fixes the following bugs:
- changes "vgsplit -l" for the unimplemented "--list" option to
"--maxlogicalvolumes".
- detection of PVs that have no metadata.
- the "lvcreate --addtag" option now drops the "@" prefix from the
name.
- prevent "lvconvert -s" from using the same LV as the origin and the
snapshot.
- human-readable output for odd numbers of sectors.
- missing VG unlocks in some pvchange error paths.
- ignore and fix any excessive device sizes found in metadata.
- error messages when fixing PV sizes in LVM2 metadata.
- detects command line PE values that exceed their 32-bit range.
- print "--help" to standard output, instead of standard error output.
- "pvs -a" now detects VGs of PVs without metadata areas.
- updates to man pages, including the "--uuid" argument, lvmdiskscan and
lvdisplay commands.
- fix 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".
- do not touch "/dev" in vgrename if activation is disabled.
- metadata corruption if writing LVM1-formatted metadata with snapshots.
- 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.
- fix pvs, vgs, and lvs error exit statuses on some error paths.
- prevent overwriting PVs with no metadata areas belonging to active VGs.
- attempt to remove incomplete LVs with lvcreate zeroing/activation
problems.
- lvmdump to check for lvm and dmsetup binaries.
- strdup memory and file descriptor leaks.
As well, this updated package adds the following enhancements:
- relies upon internally-cached PV labels.
- caches VG metadata internally.
- metadata area, segment, and convert fields to reporting commands.
- LVM2 version to "Generated by" comment in metadata.
- show "not usable" space when PV is too large for devices in pvdisplay.
- support for the full read-ahead setting, and accepts "auto" and
"none" values.
- sizes with the "lvcreate --readahead" command.
- sets the default read-ahead value to twice the maximum stripe size.
- updates vgsplit to accept an existing VG as a destination, accept
vgcreate options, and to only restrict splits with active LVs involved in
the split.
- preview of the snapshot monitoring library. Refer to the lvm.conf
file for details.
- detects MD superblocks versions 1.0, 1.1 and 1.2.
- the "%PVS" extents option to the lvresize, lvextend, and lvcreate
commands.
- support for renaming mirrored LVs.
- the "--mirrorlog" argument to specify a log type for mirrors.
- Sun Microsystems LDom virtual block device (vdisk), ps3disk and VirtIO
disks (virtblk) to filters.
- a warning is now displayed when running LVM2 commands as a non-root user.
- a "vgremove -f" option, to forcefully remove a VG, even when LVs
still exist.
- 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.
In clustered environments, this fix must be applied along with the
RHBA-2008:8290 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 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 - 154691 - RHEL4: (LVM2) lvextend should default to the size of the pv + current size of lv
- BZ - 166730 - non root users should be able to use the display cmds
- BZ - 178979 - request for "full snapshot" warnings
- BZ - 202886 - RFE: add info to pvs or pvdisplay about metadata space availible in each pv
- BZ - 209927 - Creating a LVM snapshot destroys volume group metadata
- BZ - 247448 - LVM2 allows final MDA to be removed from a VG
- BZ - 252016 - LVM2 counts mirror subdevices as logical volumes
- BZ - 261521 - pvdisplay of 250 luns with 4 paths each (1000 paths) takes many hours or days and consumes 4+GB of RAM
- BZ - 264241 - lvm mirror doesn't lose it's "M" --nosync attribute after being down and the up converted
- BZ - 354311 - failure to create a nine legged mirror
- BZ - 364081 - 'cluster request failed' during vgs command
- BZ - 409061 - pvs/pvdisplay incorrectly show non-MDA pvs as orphans
- BZ - 430906 - e2fsadm-equivalent missing for lvm2
- BZ - 431474 - pv*, vg*, and lv* commands can't handle special chars in LUN names
- BZ - 438798 - Wrong description in lvmdiskscan man page
- BZ - 440405 - lvconvert -m0 fails when a PV is specified and all extents on the PV are allocated
- BZ - 442012 - RFE: pvmove: give better diagnostic for invalid "-n LV" name
- BZ - 443839 - vgscan reports: 'Device '/dev/sda2' has been left open'
- BZ - 444355 - fsadm fails - readlink does not support options -e -n
- BZ - 444608 - vgsplit failure due to locking errors
- BZ - 444957 - vgrename is broken in cluster lvm
- BZ - 450651 - Unable to create snapshot on VG including PVs without metadata areas
CVEs
(none)
References
(none)
Red Hat Enterprise Linux Server 4
SRPM | |
---|---|
lvm2-2.02.37-3.el4.src.rpm | SHA-256: 30bb7e781388c1ecf5e143e219c7e13fe1a81f092b1cb74d8d2dacbd04ca62bd |
x86_64 | |
lvm2-2.02.37-3.el4.x86_64.rpm | SHA-256: f04d2f7ad36d7697ed7ef24f34f4f5c8d63ceb1799e1f57eeee3345bfb8d2504 |
lvm2-2.02.37-3.el4.x86_64.rpm | SHA-256: f04d2f7ad36d7697ed7ef24f34f4f5c8d63ceb1799e1f57eeee3345bfb8d2504 |
ia64 | |
lvm2-2.02.37-3.el4.ia64.rpm | SHA-256: 974b1aa83041d6f293317bf4d502041c409741aaf99d2efcd9a0f49279d4faf4 |
lvm2-2.02.37-3.el4.ia64.rpm | SHA-256: 974b1aa83041d6f293317bf4d502041c409741aaf99d2efcd9a0f49279d4faf4 |
i386 | |
lvm2-2.02.37-3.el4.i386.rpm | SHA-256: 2515f77159e3cfb9f96942ab27182be3b6d359ac32c2258c4069d086782aea44 |
lvm2-2.02.37-3.el4.i386.rpm | SHA-256: 2515f77159e3cfb9f96942ab27182be3b6d359ac32c2258c4069d086782aea44 |
Red Hat Enterprise Linux Workstation 4
SRPM | |
---|---|
lvm2-2.02.37-3.el4.src.rpm | SHA-256: 30bb7e781388c1ecf5e143e219c7e13fe1a81f092b1cb74d8d2dacbd04ca62bd |
x86_64 | |
lvm2-2.02.37-3.el4.x86_64.rpm | SHA-256: f04d2f7ad36d7697ed7ef24f34f4f5c8d63ceb1799e1f57eeee3345bfb8d2504 |
ia64 | |
lvm2-2.02.37-3.el4.ia64.rpm | SHA-256: 974b1aa83041d6f293317bf4d502041c409741aaf99d2efcd9a0f49279d4faf4 |
i386 | |
lvm2-2.02.37-3.el4.i386.rpm | SHA-256: 2515f77159e3cfb9f96942ab27182be3b6d359ac32c2258c4069d086782aea44 |
Red Hat Enterprise Linux Desktop 4
SRPM | |
---|---|
lvm2-2.02.37-3.el4.src.rpm | SHA-256: 30bb7e781388c1ecf5e143e219c7e13fe1a81f092b1cb74d8d2dacbd04ca62bd |
x86_64 | |
lvm2-2.02.37-3.el4.x86_64.rpm | SHA-256: f04d2f7ad36d7697ed7ef24f34f4f5c8d63ceb1799e1f57eeee3345bfb8d2504 |
i386 | |
lvm2-2.02.37-3.el4.i386.rpm | SHA-256: 2515f77159e3cfb9f96942ab27182be3b6d359ac32c2258c4069d086782aea44 |
Red Hat Enterprise Linux for IBM z Systems 4
SRPM | |
---|---|
lvm2-2.02.37-3.el4.src.rpm | SHA-256: 30bb7e781388c1ecf5e143e219c7e13fe1a81f092b1cb74d8d2dacbd04ca62bd |
s390x | |
lvm2-2.02.37-3.el4.s390x.rpm | SHA-256: bf48e241b8ac7c719eb581f289788407cece328b287c5efbacafa903e090d8a9 |
s390 | |
lvm2-2.02.37-3.el4.s390.rpm | SHA-256: 78f0d719cdcf6a497f9aa70fd891d8a49fcc985e2b7062a1f3402f66fa572d2f |
Red Hat Enterprise Linux for Power, big endian 4
SRPM | |
---|---|
lvm2-2.02.37-3.el4.src.rpm | SHA-256: 30bb7e781388c1ecf5e143e219c7e13fe1a81f092b1cb74d8d2dacbd04ca62bd |
ppc | |
lvm2-2.02.37-3.el4.ppc.rpm | SHA-256: 2b5b28951aa3a4781db65ee5742241c6271c6fdf6aff43ec06e29b2c28b4ac03 |
The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.