Recommended update for mdadm

SUSE Recommended Update: Recommended update for mdadm
Announcement ID: SUSE-RU-2018:1572-2
Rating: moderate
References: #1007154 #1007165 #1009954 #1032802 #1047314 #1059596 #1081910 #1082766 #953380 #956236 #966773 #974154 #978796 #979454 #985026 #985029 #987811 #989373 #991861
Affected Products:
  • SUSE Linux Enterprise Server 12-SP2-BCL

An update that has 19 recommended fixes can now be installed.

Description:

This update for mdadm provides the backporting of some critical fixes from upstream, and replace some existing patches with their upstream counterpart. (bsc#1081910). The following fixes are included:

  • super1: Fix bblog_size accesses on big-ending machines. (fate#320107, fate#320291)
  • Fix some type comparison problems. (fate#320107, fate#320291)
  • util.c: Include poll.h instead of sys/poll.h. (fate#320107, fate#320291)
  • mdadm.h: Rename bswap macros to avoid clash with uClibc definitions. (fate#320107, fate#320291)
  • Manage.c: Only issue change events for kernels older than 2.6.28. (fate#320107, fate#320291)
  • Grow: Add documentation to abort_reshape() for suspend_{lo,hi} setting. (bsc#1081910)
  • super-intel: Ensure suspended region is removed when reshape completes. (bsc#1081910)
  • Fix wrong bitmap output for cluster raid. (fate#316335)
  • Remove dead code about LKF_CONVERT flag. (fate#316335)
  • Fix a regression during the addition of devices. (bsc#953380)
  • Grow: Go to release if Manage_subdevs failed. (fate#316335)
  • Change the option from NoUpdate to NodeNumUpdate. (fate#316335)
  • mdadm: Add '--nodes' option in GROW mode. (fate#316335)
  • Create: Check the node numbers when create clustered raid. (fate#316335)
  • super1: Do not update node numbers if it is a single node. (fate#316335)
  • super1: Make the check for NodeNumUpdate more accurate. (bsc#978796)
  • super1: Add more checks for NodeNumUpdate option. (bsc#979454)
  • Use dev_t for devnm2devid and devid2devnm. (bsc#1009954)
  • Change behavior in find_free_devnm when wrapping around. (bsc#1009954)
  • monitor: Make sure that last_checkpoint is set to 0 after sync. (bsc#985026, bsc#985029)
  • Remove: Container should wait for an array to release a drive. (bsc#989373)
  • Monitor: Release /proc/mdstat fd when no arrays present. (bsc#987811)
  • mdadm: Add 'clustered' in typo prompt when specify wrong param for bitmap. (bsc#991861)
  • Fix RAID metadata check. (bsc#1081910)
  • super1: Make write_bitmap1 compatible with previous mdadm versions. (bsc#1007165)
  • Allow level migration only for single-array container. (bsc#1081910)
  • Fix bus error when accessing MBR partition records. (bsc#1081910)
  • super1: Make internal bitmap size calculations more consistent. (bsc#1081910)
  • Add function for getting member drive sector size. (bsc#1081910)
  • Add failfast support. (fate#311379)
  • mdadm: Add bad block support for external metadata. (bsc#1081910)
  • Use disk sector size value to set offset for reading GPT. (bsc#1081910)
  • Always return last partition end address in 512B blocks. (bsc#1081910)
  • Add detail information when can not connect monitor. (bsc#1081910)
  • imsm: Add handling of sync_action is equal to 'idle'. (bsc#985026, bsc#985029)
  • mdopen: call "modprobe md_mod" if it might be needed. (bsc#1059596)
  • imsm: Properly handle values of sync_completed. (bsc#985026, bsc#985029)
  • Makefile: Make the CC variable definition conditional. (fate#320107, fate#320291)
  • systemd/mdadm-last-resort: Use ConditionPathExists instead of Conflicts. (bsc#1047314)
  • super1: Only set clustered flag when bitmap is present. (bsc#1047314)
  • super1: Fix sb->max_dev when adding a new disk in linear array. (bsc#1032802)
  • Detail: Display timeout status. (fate#311379)
  • mdadm: Retry failed removes. (fate#311379)
  • Detail: Ignore empty inactive arrays. (bsc#966773)
  • mdadm: Wait for remove. (bsc#974154)
  • udev-md-raid-assembly.rules: Skip multipathed devices. (bsc#956236)
  • Assemble: Prevent segfault with faulty "best" devices. (bsc#1082766)

Patch Instructions:

To install this SUSE Recommended Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
Alternatively you can run the command listed for your product:

  • SUSE Linux Enterprise Server 12-SP2-BCL:
    zypper in -t patch SUSE-SLE-SERVER-12-SP2-BCL-2018-1086=1

Package List:

  • SUSE Linux Enterprise Server 12-SP2-BCL (x86_64):
    • mdadm-3.4-27.16.1
    • mdadm-debuginfo-3.4-27.16.1
    • mdadm-debugsource-3.4-27.16.1

References: