Bug 2163711 - DDF raid array is not automatically assembled
Summary: DDF raid array is not automatically assembled
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: mdadm
Version: 38
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: XiaoNi
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 2158730
Blocks: 2158574
TreeView+ depends on / blocked
 
Reported: 2023-01-24 10:37 UTC by Vojtech Trefny
Modified: 2023-02-15 08:16 UTC (History)
5 users (show)

Fixed In Version: mdadm-4.2-4.fc38
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-02-15 08:16:47 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Vojtech Trefny 2023-01-24 10:37:25 UTC
DDF RAID arrays are not automatically assembled by mdadm during boot. The udev rules shipped with mdadm automatically assemble both normal MD RAID arrays and Intel Matrix Storage (IMSM) arrays, but not DDF arrays.

Proposed fix is to add these two lines to the rules shipped by mdadm in Fedora:

SUBSYSTEM=="block", ACTION=="add", ENV{ID_FS_TYPE}=="ddf_raid_member", \
	RUN+="/sbin/mdadm -I $env{DEVNAME}"

This is already present on RHEL[1] so it should be safe to include in Fedora. This change is needed for the proposed Fedora 38 change[2] to switch from dmraid to mdadm when handling DDF arrays during installation.

Note that assembling DDF arrays is currently broken with kernel 6.2[3] so this is blocked until the kernel issue is solved.


[1] https://gitlab.com/redhat/centos-stream/rpms/mdadm/-/commit/d5146fa1c9ac362b2e06b331600cf7acc99722ad
[2] https://fedoraproject.org/wiki/Changes/UseMdadmForBIOSRAIDInAnaconda
[3] https://bugzilla.redhat.com/show_bug.cgi?id=2158730

Comment 1 Ben Cotton 2023-02-07 15:12:15 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 38 development cycle.
Changing version to 38.


Note You need to log in before you can comment on or make changes to this bug.