Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 2163711

Summary: DDF raid array is not automatically assembled
Product: [Fedora] Fedora Reporter: Vojtech Trefny <vtrefny>
Component: mdadmAssignee: XiaoNi <xni>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 38CC: agk, dledford, jes.sorensen, jonathan, xni
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: mdadm-4.2-4.fc38 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-02-15 08:16:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2158730    
Bug Blocks: 2158574    

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.