Este conteúdo não está disponível no idioma selecionado.
5.48. device-mapper-multipath
5.48.1. RHBA-2012:1111 — device-mapper-multipath bug fix update Copiar o linkLink copiado para a área de transferência!
Copiar o linkLink copiado para a área de transferência!
Updated device-mapper-multipath packages that fix one bug are now available for Red Hat Enterprise Linux 6.
The device-mapper-multipath packages provide tools for managing multipath devices using the device-mapper multipath kernel module.
Bug Fix
- BZ#837594
- When a multipath vector (a dynamically allocated array) was resized to a smaller size, device-mapper-multipath did not reassign the pointer to the array. If the array location was changed by reducing its size, device-mapper-multipath corrupted its memory. With this update, device-mapper-multipath correctly reassigns the pointer in this scenario, and memory corruption no longer occurs.
All users of device-mapper-multipath are advised to upgrade to these updated packages, which fix this bug.
5.48.2. RHBA-2012:0946 — device-mapper-multipath bug fix and enhancement update Copiar o linkLink copiado para a área de transferência!
Copiar o linkLink copiado para a área de transferência!
Updated device-mapper-multipath packages that fix several bugs and add various enhancements are now available for Red Hat Enterprise Linux 6.
The device-mapper-multipath packages provide tools to manage multipath devices using the device-mapper multipath kernel module.
Bug Fixes
- BZ#812832
- The
multipathddaemon was not correctly stopping waiter threads during shutdown. The waiter threads could access freed memory and cause the daemon to terminate unexpectedly during shutdown. With this update, themutlipathddaemon now correctly stops the waiter threads before they can access any freed memory and no longer crashes during shutdown. - BZ#662433
- When Device Mapper Multipath was stopped,
multipathddid not disable thequeue_if_no_pathoption on multipath devices by default. Whenmultipathdwas stopped during shutdown, I/O of the device was added to the queue if all paths to a device were lost, and the shutdown process became unresponsive. With this update, multipathd now sets thequeue_without_daemonoption tonoby default. As a result, all multipath devices stop queueing whenmultipathdis stopped and multipath now shuts down as expected. - BZ#752989
- Device Mapper Multipath uses regular expressions in built-in device configurations to determine a multipath device so as to apply the correct configuration to the device. Previously, some regular expressions for resolving the device vendor name and product ID were not specific enough. As a consequence, some devices could be matched with incorrect device configurations. With this update, the product and vendor regular expressions have been modified so that all multipath devices are now configured properly.
- BZ#754586
- After renaming a device, there was a race condition between
multipathdand udev to rename the new multipath device nodes. If udev renamed the device node first,multipathdremoved the device created by udev and failed to create the new device node. With this update,multipathdimmediately creates the new device nodes, and the race condition no longer occurs. As a result, the renamed device is now available as expected. - BZ#769527
- Previously, the
flush_on_last_devhandling code did not implement handling of the queue feature properly. Consequently, even though theflush_on_last_delfeature was activated,multipathdre-enabled queueing on multipath devices that could not be removed immediately after the last path device was deleted. With this update, the code has been fixed and when the user setsflush_on_last_del, their multipath devices correctly disable queueing, even if the devices cannot be closed immediately. - BZ#796384
- Previously, Device Mapper Multipath used a fixed-size buffer to read the Virtual Device Identification page [0x83]. The buffer size was sometimes insufficient to accommodate the data sent by devices and the ALUA (Asymmetric Logical Unit Access) prioritizer failed. Device Mapper Multipath now dynamically allocates a buffer large enough for the Virtual Device Identification page and the ALUA prioritizer no longer fails in the scenario described.
- BZ#744210
- Previously,
multipathddid not set themax_fdsoption by default, which sets the maximum number of file descriptors thatmultipathdcan open. Also, theuser_friendly_namessetting could only be configured in thedefaultssection of/etc/multipath.conf. The user had to setmax_fdsmanually and override thedefault user_friendly_namesvalue in their device-specific configurations. With this update, multipath now setsmax_fdsto the system maximum by default, anduser_friendly_namescan be configured in thedevicessection ofmultipath.conf. Users no longer need to set max_fds for large setups, and they are able to select user_friendly_names per device type. - BZ#744756
- Previously, to modify a built-in configuration, the vendor and product strings of the user's configuration had to be identical to the vendor and product strings of the built-in configuration. The vendor and product strings are regular expressions, and the user did not always know the correct vendor and product strings needed to modify a built-in configuration. With this update, the
hwtable_regex_matchoption was added to the defaults section ofmultipath.conf. If it is set toyes, Multipath uses regular-expression matching to determine if the user's vendor and product strings match the built-in device configuration strings: the user can use the actual vendor and product information from their hardware in their device configuration, and it will modify the default configuration for that device. The option is set tonoby default. - BZ#750132
- Previously,
multipathdwas using a deprecated Out-of-Memory (OOM) adjustment interface. Consequently, the daemon was not protected from the OOM killer properly; the OOM killer could kill the daemon when memory was low and the user was unable to restore failed paths. With this update,multipathdnow uses the new Out-of-Memory adjustment interface and can no longer be killed by the Out-of-Memory killer. - BZ#702222
- The
multipath.conffile now contains a comment which informs the user that the configuration must be reloaded for any changes to take effect. - BZ#751938
- The
multipathddaemon incorrectly exited with code1whenmultipath -h(print usage) was run. With this update, the underlying code has been modified andmultipathdnow returns code0as expected in the scenario described. - BZ#751039
- Some
multipathdthreads did not check ifmultipathdwas shutting down before they started their execution. Consequently, themultipathddaemon could terminate unexpectedly with a segmentation fault on shutdown. With this update, themultipathdthreads now check ifmultipathdis shutting down before triggering their execution, andmultipathdno longer terminates with a segmentation fault on shutdown. - BZ#467709
- The
multipathddaemon did not have a failover method to handle switching of path groups when multiple nodes were using the same storage. Consequently, if one node lost access to the preferred paths to a logical unit, while the preferred path of the other node was preserved,multipathdcould end up switching back and forth between path groups. This update adds thefollowoverfailback method to device-mapper-multipath. If thefollowoverfailback method is set,multipathddoes not fail back to the preferred path group, unless it just came back online. When multiple nodes are using the same storage, a path failing on one machine now no longer causes the path groups to continually switch back and forth.
Enhancements
- BZ#737051
- The NetApp brand name has been added to the documentation about the RDAC (Redundant Disk Array Controller) checker and prioritizer.
- BZ#788963
- The built-in device configuration for Fujitsu ETERNUS has been added.
- BZ#760852
- If the multipath checker configuration was set to
tur, the checks were not performed asynchronously. If a device failed and the checker was waiting for the SCSI layer to fail back, the checks on other paths were kept waiting. The checker has been rewritten so as to check the paths asynchronously, and the path checking on other paths continues as expected. - BZ#799908
- A built-in configuration for IBM XIV Storage System has been added.
- BZ#799842
- The NetApp LUN built-in configuration now uses the
turpath checker by default. Also flush_on_last_del has been enabled, dev_loss_tmo has been set toinfinity, fast_io_fail_tmo has been set to5, and pg_init_retries has been set to50.
Users of device-mapper-multipath should upgrade to these updated packages, which fix these bugs and add these enhancements.