Recommended update for mdadm

Announcement ID: SUSE-RU-2021:3138-1
Rating: moderate
References:
Affected Products:
  • Basesystem Module 15-SP3
  • openSUSE Leap 15.3
  • SUSE Linux Enterprise Desktop 15 SP3
  • SUSE Linux Enterprise High Performance Computing 15 SP3
  • SUSE Linux Enterprise Real Time 15 SP3
  • SUSE Linux Enterprise Server 15 SP3
  • SUSE Linux Enterprise Server 15 SP3 Business Critical Linux 15-SP3
  • SUSE Linux Enterprise Server for SAP Applications 15 SP3
  • SUSE Manager Proxy 4.2
  • SUSE Manager Retail Branch Server 4.2
  • SUSE Manager Server 4.2

An update that has two fixes can now be installed.

Description:

This update for mdadm fixes the following issues:

  • Remove Spare drives line from details for external metadata. (bsc#1180661, bsc#1182642)
  • Arrays with external metadata do not have spare disks directly assigned to volumes; spare disks belong to containers and are moved to arrays when the array is degraded/reshaping. Thus, the display of zero spare disks in volume details is incorrect and can be confusing.
  • Don't associate spares with other arrays during RAID Examine. (bsc#1180661, bsc#1182642)
  • Spares in imsm belong to containers, not volumes, and must go into a separate container when assembling the RAID. Remove association spares with other arrays and make Examine print separate containers for spares. Auto assemble without config file already works like this. So make creating a config file and assembling from it consistent with auto assemble. With this change, 'mdadm -Es' will add this line to output if spares are found: 'ARRAY metadata=imsm UUID=00000000:00000000:00000000:00000000'

Patch Instructions:

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

  • openSUSE Leap 15.3
    zypper in -t patch SUSE-2021-3138=1
  • Basesystem Module 15-SP3
    zypper in -t patch SUSE-SLE-Module-Basesystem-15-SP3-2021-3138=1

Package List:

  • openSUSE Leap 15.3 (aarch64 ppc64le s390x x86_64 i586)
    • mdadm-4.1-24.6.1
    • mdadm-debugsource-4.1-24.6.1
    • mdadm-debuginfo-4.1-24.6.1
  • Basesystem Module 15-SP3 (aarch64 ppc64le s390x x86_64)
    • mdadm-4.1-24.6.1
    • mdadm-debugsource-4.1-24.6.1
    • mdadm-debuginfo-4.1-24.6.1

References: