Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

1.21. device-mapper

1.21.1. RHBA-2011:0051: bug fix and enhancement update

Updated device-mapper packages that fix several bugs and add an enhancement are now available.
The device-mapper packages provide a library required by logical volume management utilities such as LVM2 and dmraid.
These updated device-mapper packages provide fixes for the following bugs:
* Filtering with many regular expressions (for example when using lvm commands to filter devices) could have caused performance problems. This update improves the parsing process for regular expressions and the processing performance. ( BZ#581830)
* After you issued the command for deactivation of logical volumes (lvchange -an) and the command failed, the system could have deleted the symlink to the device in /dev/VGNAME/LVNAME. With this update, the device deactivation function fails if the device is open and the issue no longer occurs. ( BZ#583646)
* The devmapper.pc file contained a wrong dependency on SELinux 'Requires.private: libselinux' and other tools could not resolve this dependency. With this update, the dependency was reverted to 'Libs.private: lselinux' and the dependency problem no longer occurs. ( BZ#632298)
* Previously, due to the output limit in reporting functions (vgs, lvs), tags seized to be displayed in longer reports. With this update, the output lines in these reports are limited by available memory only. ( BZ#649710)
* Filtering with regular expressions (for example when using lvm commands to filter devices) could have failed. This was due to an error in removing a common suffix. With this update, the optimization for common suffixes works correctly. ( BZ#651349)
In addition, these updated packages provides the following enhancement:
* The device-mapper package was upgraded to version 1.02.55. The upgraded version: - adds the manual page for the dmeventd service, - improves the 'dmsetup' manual page and adds descriptions of the 'clear' command and the '--showkeys' option, - adds the '--help' option as an alternative to the 'help' command, - allows use of the device-mapper header file in C++. ( BZ#627539)
Users are advised to upgrade to these updated device-mapper packages, which resolve these issues and add this enhancement.

1.21.2. RHBA-2010:0431: bug fix update

Updated device-mapper packages that fix various bugs are now available.
The device-mapper packages provide a library required by logical volume management utilities such as LVM2 and dmraid.
This update applies the following bug fixes:
* fixes the device deactivation function so that the function fails if the device is open. This fixes a problem that occurred when a device remained active but the symbolic link was unexpectedly removed. ( BZ#583900)
* optimizes regular expression parsing for shared character prefixes. This shortens processing of lvm2 filters with many devices with a shared prefix. ( BZ#584345)
All users of device-mapper should upgrade to these updated packages, which resolve these issues and include these enhancements.