- Issued:
- 2007-11-07
- Updated:
- 2007-11-07
RHBA-2007:0516 - 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 include various bug fixes and enhancements are
now available.
Description
The lvm2 package contains support for logical volume management.
These updated lvm2 packages now include the following enhancements and bug
fixes:
New options and commands:
- Adds '-f' option to vgcfgrestore; lists metadata backup files.
- Adds '--maps' option to pvdisplay; lists physical to logical extent mapping.
- Adds 'pvck' (experimental) command to check physical volume metadata.
- Changes 'lv_attr' option field for 'cling' allocation policy from 'C' to 'l'
- Updates 'lvm dumpconfig' to accept a list of configuration variables.
- Updates 'lvm dumpconfig' to use '--file' to redirect output to a file.
- Support the /dev/mapper prefix on most lvm command lines.
- Updates lvm_dump.sh to include '/sys/block' and '/dev' listings.
- Fixes vgremove to require at least one VG argument.
Configuration (/etc/lvm.conf):
- Adds 'devices/cache_dir' and 'devices/cache_file_prefix', which
deprecates 'devices/cache'.
- Adds 'devices/preferred_names' config regex list for displayed device names.
- Adds a configuration option 'devices/ignore_suspended_devices' so
'dmeventd' can avoid scanning mirrors.
General command behavior:
- Moves .cache file into a new /etc/lvm/cache directory by default.
- Fixes to persistent device cache.
- Allows keyboard interrupt during user prompts when appropriate.
- Fixes processing of exit status in init scripts.
- Fixes vgsplit for LVM1 format (set and validate VG name in PVs metadata).
- Splits metadata areas in vgsplit properly.
- Fixes md signature check to handle both endiannesses.
- Avoids updating metadata automatically if VGIDs don't match.
- Makes a PV an orphan if it reappears after it was removed from its VG.
- Fixes reading of striped LVs in LVM1 format.
- Fixes vgrename active LV check to ignore differing vgids.
- Fixes logical volume deactivation to follow dependencies and remove symlinks.
- Disable interactive command shell for statically built executable lvm.static.
Mirrors:
- Reports whether mirrors are being monitored for errors and copes if a
monitored device disappears.
- Fixes creation and conversion of mirrors with tags.
- Prevents permission changes on active mirrors.
- Fixes vgsplit to handle mirrors.
- Avoid vgreduce error when mirror code removes the log LV.
- Updates handling of some mirror operations to resubmit I/O and avoid
premature I/O (no flush suspend)
- Allows mirror creation with name longer than 22 chars.
- Adds '/etc/init.d/lvm2-monitor' for monitoring LVs for failures using
'dmeventd'. This is required only by lvm2 mirrors in this release.
Reporting commands (pvs, vgs, lvs):
- Reorder fields in reporting field definitions.
- Fixes 'vgs' to treat arguments as VGs even when PV fields are displayed.
- Fixes exit statuses of reporting tools.
- Adds field definitions to report help text.
- Updates to reporting commands.
- Makes alignment type optional for commands that use report fields.
Crashes:
- Fixes a crash if a device has no device mapper table.
- Fixes a crash while processing physical extents on lvm command lines.
- Fixes a crash if an empty config file section encountered.
Miscellaneous:
- Updates man pages, including vgcfgrestore, vgrename, lvconvert, and lvextend.
- Clarifies vgsplit error messages.
- Change error message to a warning if 'lvconvert' cannot zero volume.
- Add a few missing pieces of vgname command line validation.
- Fixes 'vgreduce --removemissing' command line validation.
- Adds an error message to 'pvremove' when the device doesn't exist.
Clusters:
- See 'lvm2-cluster' errata for full details.
All users of lvm2 should upgrade to these updated packages, which include
these bug fixes and 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 - 203745 - [RHEL5 Alpha] LVM2 mirror: 'vgchange -an' sometimes fails to remove mirror corresponding maps.
- BZ - 244650 - LVM should still capture signals when prompting the user
- BZ - 244791 - null error message when attemping vgsplit of snap origin
- BZ - 244792 - vgsplit support for lvm1 format vg is broken
- BZ - 244793 - vgrename unable to rename a VG with the same name as an active one
- BZ - 244794 - deactivation of lv with snapshots may leave broken linked dev entries around
- BZ - 244795 - vgsplit needs to check if all pvs being split out have metadata space
- BZ - 244796 - vgremove should behave like lvremove and pvremove
- BZ - 245174 - lvm2-monitor initscript produces invalid VG errors
- BZ - 246516 - lstat failed errors - .cache contains invalid items
CVEs
(none)
References
(none)
Red Hat Enterprise Linux Server 5
SRPM | |
---|---|
lvm2-2.02.26-3.el5.src.rpm | SHA-256: 1815b53930bfef5cc7313461f72a6e8af4efde03ad58fb6513b2f058513abd69 |
x86_64 | |
lvm2-2.02.26-3.el5.x86_64.rpm | SHA-256: 6a99ebc327be9caf71ff6218c00899426d93502fa54d3607cc81e3e863dfd1c3 |
ia64 | |
lvm2-2.02.26-3.el5.ia64.rpm | SHA-256: e199bdbc899e1f44a7f247d5468b69cfc9f9a47ea63fae14ee3bb7f37f35d7a9 |
i386 | |
lvm2-2.02.26-3.el5.i386.rpm | SHA-256: 285648d215b482ab3d95e429e290d6fb459d938c0b945eece8f8542f65eedfaa |
Red Hat Enterprise Linux Workstation 5
SRPM | |
---|---|
lvm2-2.02.26-3.el5.src.rpm | SHA-256: 1815b53930bfef5cc7313461f72a6e8af4efde03ad58fb6513b2f058513abd69 |
x86_64 | |
lvm2-2.02.26-3.el5.x86_64.rpm | SHA-256: 6a99ebc327be9caf71ff6218c00899426d93502fa54d3607cc81e3e863dfd1c3 |
i386 | |
lvm2-2.02.26-3.el5.i386.rpm | SHA-256: 285648d215b482ab3d95e429e290d6fb459d938c0b945eece8f8542f65eedfaa |
Red Hat Enterprise Linux Desktop 5
SRPM | |
---|---|
lvm2-2.02.26-3.el5.src.rpm | SHA-256: 1815b53930bfef5cc7313461f72a6e8af4efde03ad58fb6513b2f058513abd69 |
x86_64 | |
lvm2-2.02.26-3.el5.x86_64.rpm | SHA-256: 6a99ebc327be9caf71ff6218c00899426d93502fa54d3607cc81e3e863dfd1c3 |
i386 | |
lvm2-2.02.26-3.el5.i386.rpm | SHA-256: 285648d215b482ab3d95e429e290d6fb459d938c0b945eece8f8542f65eedfaa |
Red Hat Enterprise Linux for IBM z Systems 5
SRPM | |
---|---|
lvm2-2.02.26-3.el5.src.rpm | SHA-256: 1815b53930bfef5cc7313461f72a6e8af4efde03ad58fb6513b2f058513abd69 |
s390x | |
lvm2-2.02.26-3.el5.s390x.rpm | SHA-256: 58ce36505f935bb1fd27ff1a152a10e717257d64e0e2fb621ecce4d21425c719 |
Red Hat Enterprise Linux for Power, big endian 5
SRPM | |
---|---|
lvm2-2.02.26-3.el5.src.rpm | SHA-256: 1815b53930bfef5cc7313461f72a6e8af4efde03ad58fb6513b2f058513abd69 |
ppc | |
lvm2-2.02.26-3.el5.ppc.rpm | SHA-256: 21fbef2d1a7549b984d673ef59c8b67f88869460faee5a60c26c7df21bf20772 |
Red Hat Enterprise Linux Server from RHUI 5
SRPM | |
---|---|
lvm2-2.02.26-3.el5.src.rpm | SHA-256: 1815b53930bfef5cc7313461f72a6e8af4efde03ad58fb6513b2f058513abd69 |
x86_64 | |
lvm2-2.02.26-3.el5.x86_64.rpm | SHA-256: 6a99ebc327be9caf71ff6218c00899426d93502fa54d3607cc81e3e863dfd1c3 |
i386 | |
lvm2-2.02.26-3.el5.i386.rpm | SHA-256: 285648d215b482ab3d95e429e290d6fb459d938c0b945eece8f8542f65eedfaa |
The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.