- Issued:
- 2015-07-22
- Updated:
- 2015-07-22
RHBA-2015:1411 - lvm2 bug fix and enhancement update
Synopsis
lvm2 bug fix and enhancement update
Type/Severity
Bug Fix Advisory
Topic
Updated lvm2 packages that fix several bugs and add various enhancements are now available for Red Hat Enterprise Linux 6.
The lvm2 packages include complete support for handling read and write operations on physical volumes (PVs), creating volume groups (VGs) from one or more PVs, and creating one or more logical volumes (LVs) in VGs.
Description
Two enhancements are described in the Red Hat Enterprise Linux 6.7 Release Notes, linked from the References section:
- This update enhances selection support in the Logical Volume Manager (LVM) (BZ#853259)
- The "lvchange -p" command can change in-kernel permissions on a logical volume (LV) (BZ#1021051)
Bugs:
-
Volume groups (VGs) built from a high number of physical volumes (PVs) can experience significant lags. Enabling the lvmetad service reduces the operation time even on systems where the VG has metadata on all PVs. (BZ#736027)
-
The lvremove utility failed to remove damaged thin pools that were not repaired. The double "--force --force" option can now remove such pool volumes. (BZ#1021728)
-
When the lvmetad service was used with "global/use_lvmetad=1" set, LVM leaked open sockets, and lvmetad kept threads for existing sockets. Now, LVM no longer leaks open lvmetad sockets, and lvmetad frees unused threads. (BZ#1130245)
-
Activating a thin pool failed under certain circumstances. The lvm2 utility now properly rounds to 64 kB thin pool chunk size, thus fixing this bug. (BZ#1132211)
-
The lvconvert utility displayed internal error messages under certain circumstances. Now, lvconvert verifies if the "--originname" value differs from the "--thinpool" value before the conversion begins. The messages are no longer displayed. (BZ#1133079)
-
The user could not use the lvconvert utility to repair or split mirrors from cache data and cache metadata volumes due to strict checks for LV names. The checks have been relaxed, and lvconvert can be successfully used for these operations. (BZ#1133093)
-
The lvm2 utility previously in some cases attempted to access incorrect devices for locking. Now, lvm2 uses the expected LV lock for snapshot volumes, thus fixing this bug. (BZ#1136925)
-
When the volume_list parameter was set to forbid activating volumes during thin pool creation on error code path, some volumes could remain active in the device mapper table without the proper lock being held. All such volumes are now correctly deactivated before lvm2 exits. (BZ#1140128)
-
Changing the VG clustering attribute could malfunction when clustered locking was selected. The code now correctly checks and propagates locks even for non-clustered VGs in this situation. The bug no longer occurs. (BZ#1141386)
-
It is no longer possible to set the "--minor" and "--major" options for thin pool volumes with the lvm2 utility. If the user attempts to set them, lvm2 correctly informs the user they are not supported. (BZ#1143747)
-
The vgimportclone script did sometimes not work as expected and in some cases also failed to rename and import duplicated VGs. The script now properly handles when the "filter" setting is missing from the lvm.conf file, and its code has been made more robust, thus fixing these bugs. (BZ#1171805, BZ#1205503)
-
The "--clear-needs-check-flag" option was missing from the default value for the thin_check_options option in the "global" section of the lvm.conf file after installing lvm2. Now, "--clear-needs-check-flag" is set by default after installation. (BZ#1184353)
-
The pvs utility did not list all PVs when reporting only label fields for given PVs if "obtain_device_list_from_udev=0" was set in lvm.conf. Now, LVM2 generates correct content for the persistent cache, thus fixing this bug. (BZ#1196767)
Enhancements:
-
With this update, LVM cache is fully supported. Users can now create LVs with a small fast device that serves as a cache to larger and slower devices. For information on creating cache LVs, see the lvmcache(7) man page. (BZ#1202916)
-
This update adds the "--enable-halvm", "--disable-halvm", "--mirrorservice", and "--startstopservices" options to the lvmconf script. For more information, see the lvmconf(8) man page. (BZ#1211645)
Solution
Users of lvm2 are advised to upgrade to these updated packages, which fix these bugs and add these enhancements.
Before applying this update, make sure all previously released errata relevant to your system have been applied.
For details on how to apply this update, refer to:
https://access.redhat.com/articles/11258
Affected Products
| Product | Version | Arch |
|---|---|---|
| Red Hat Enterprise Linux for Scientific Computing | 6 | x86_64 |
| Red Hat Enterprise Linux for Power, big endian | 6 | ppc64 |
| Red Hat Enterprise Linux for IBM z Systems | 6 | s390x |
| Red Hat Enterprise Linux Workstation | 6 | x86_64 |
| Red Hat Enterprise Linux Workstation | 6 | i386 |
| Red Hat Enterprise Linux Server | 6 | x86_64 |
| Red Hat Enterprise Linux Server | 6 | i386 |
| Red Hat Enterprise Linux Server from RHUI | 6 | x86_64 |
| Red Hat Enterprise Linux Server from RHUI | 6 | i386 |
| Red Hat Enterprise Linux Server - Retired Extended Life Cycle Support | 6 | x86_64 |
| Red Hat Enterprise Linux Server - Extended Life Cycle Support | 6 | x86_64 |
| Red Hat Enterprise Linux Server - Extended Life Cycle Support | 6 | i386 |
| Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension | 6 | x86_64 |
| Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension | 6 | i386 |
| Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension (for IBM z Systems) | 6 | s390x |
| Red Hat Enterprise Linux Server - Extended Life Cycle Support (for IBM z Systems) | 6 | s390x |
| Red Hat Enterprise Linux Resilient Storage for x86_64 | 6 | x86_64 |
| Red Hat Enterprise Linux Resilient Storage for x86_64 | 6 | i386 |
| Red Hat Enterprise Linux Resilient Storage (for RHEL Server) from RHUI | 6 | x86_64 |
| Red Hat Enterprise Linux Resilient Storage (for RHEL Server) from RHUI | 6 | i386 |
| Red Hat Enterprise Linux Desktop | 6 | x86_64 |
| Red Hat Enterprise Linux Desktop | 6 | i386 |
Updated Packages
- device-mapper-libs-1.02.95-2.el6.ppc.rpm
- lvm2-devel-2.02.118-2.el6.x86_64.rpm
- lvm2-2.02.118-2.el6.i686.rpm
- device-mapper-libs-1.02.95-2.el6.i686.rpm
- device-mapper-1.02.95-2.el6.x86_64.rpm
- device-mapper-libs-1.02.95-2.el6.x86_64.rpm
- lvm2-debuginfo-2.02.118-2.el6.x86_64.rpm
- lvm2-debuginfo-2.02.118-2.el6.s390x.rpm
- device-mapper-event-libs-1.02.95-2.el6.ppc.rpm
- device-mapper-devel-1.02.95-2.el6.x86_64.rpm
- device-mapper-event-1.02.95-2.el6.i686.rpm
- lvm2-devel-2.02.118-2.el6.s390.rpm
- device-mapper-event-libs-1.02.95-2.el6.i686.rpm
- device-mapper-event-1.02.95-2.el6.s390x.rpm
- lvm2-cluster-2.02.118-2.el6.x86_64.rpm
- device-mapper-devel-1.02.95-2.el6.s390.rpm
- device-mapper-event-devel-1.02.95-2.el6.ppc64.rpm
- device-mapper-1.02.95-2.el6.s390x.rpm
- lvm2-libs-2.02.118-2.el6.i686.rpm
- lvm2-debuginfo-2.02.118-2.el6.i686.rpm
- lvm2-libs-2.02.118-2.el6.ppc.rpm
- cmirror-2.02.118-2.el6.i686.rpm
- device-mapper-1.02.95-2.el6.i686.rpm
- device-mapper-devel-1.02.95-2.el6.ppc64.rpm
- device-mapper-event-libs-1.02.95-2.el6.s390.rpm
- lvm2-2.02.118-2.el6.src.rpm
- device-mapper-event-devel-1.02.95-2.el6.s390x.rpm
- device-mapper-event-libs-1.02.95-2.el6.x86_64.rpm
- lvm2-cluster-2.02.118-2.el6.i686.rpm
- cmirror-2.02.118-2.el6.x86_64.rpm
- lvm2-devel-2.02.118-2.el6.ppc64.rpm
- device-mapper-event-libs-1.02.95-2.el6.s390x.rpm
- device-mapper-event-devel-1.02.95-2.el6.s390.rpm
- lvm2-libs-2.02.118-2.el6.s390.rpm
- device-mapper-devel-1.02.95-2.el6.ppc.rpm
- device-mapper-event-1.02.95-2.el6.ppc64.rpm
- lvm2-2.02.118-2.el6.x86_64.rpm
- lvm2-devel-2.02.118-2.el6.s390x.rpm
- lvm2-debuginfo-2.02.118-2.el6.s390.rpm
- lvm2-2.02.118-2.el6.ppc64.rpm
- lvm2-libs-2.02.118-2.el6.ppc64.rpm
- lvm2-libs-2.02.118-2.el6.x86_64.rpm
- device-mapper-event-devel-1.02.95-2.el6.i686.rpm
- lvm2-devel-2.02.118-2.el6.i686.rpm
- device-mapper-libs-1.02.95-2.el6.ppc64.rpm
- device-mapper-devel-1.02.95-2.el6.s390x.rpm
- lvm2-debuginfo-2.02.118-2.el6.ppc64.rpm
- lvm2-debuginfo-2.02.118-2.el6.ppc.rpm
- device-mapper-devel-1.02.95-2.el6.i686.rpm
- lvm2-libs-2.02.118-2.el6.s390x.rpm
- device-mapper-event-libs-1.02.95-2.el6.ppc64.rpm
- device-mapper-event-1.02.95-2.el6.x86_64.rpm
- device-mapper-event-devel-1.02.95-2.el6.x86_64.rpm
- lvm2-2.02.118-2.el6.s390x.rpm
- device-mapper-libs-1.02.95-2.el6.s390x.rpm
- device-mapper-1.02.95-2.el6.ppc64.rpm
- device-mapper-event-devel-1.02.95-2.el6.ppc.rpm
- lvm2-devel-2.02.118-2.el6.ppc.rpm
- device-mapper-libs-1.02.95-2.el6.s390.rpm
Fixes
- This content is not included.BZ - 736027
- This content is not included.BZ - 853259
- This content is not included.BZ - 983600
- This content is not included.BZ - 1021051
- This content is not included.BZ - 1021728
- This content is not included.BZ - 1104381
- This content is not included.BZ - 1110026
- This content is not included.BZ - 1116155
- This content is not included.BZ - 1130245
- This content is not included.BZ - 1132211
- This content is not included.BZ - 1133079
- This content is not included.BZ - 1133093
- This content is not included.BZ - 1136925
- This content is not included.BZ - 1140128
- This content is not included.BZ - 1141386
- This content is not included.BZ - 1143747
- This content is not included.BZ - 1165596
- This content is not included.BZ - 1167435
- This content is not included.BZ - 1171805
- This content is not included.BZ - 1174884
- This content is not included.BZ - 1184353
- This content is not included.BZ - 1194785
- This content is not included.BZ - 1194787
- This content is not included.BZ - 1202785
- This content is not included.BZ - 1202916
- This content is not included.BZ - 1207309
- This content is not included.BZ - 1209445
- This content is not included.BZ - 1211645
CVEs
(none)
References
- https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/6.7_Release_Notes/index.html
Additional information
- The Red Hat security contact is This content is not included.secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.
- Offline Security Data data is available for integration with other systems. See Offline Security Data API to get started.