On 12/27/23 17:03, pgnd wrote:
also make sure your drivers are in the initrd

lsinitrd | grep -Ei "kernel/drivers/md/raid"
-rw-r--r--   1 root     root        10228 Nov 15 19:00 
usr/lib/modules/6.6.8-200.fc39.x86_64/kernel/drivers/md/raid0.ko.xz
-rw-r--r--   1 root     root        35376 Nov 15 19:00 
usr/lib/modules/6.6.8-200.fc39.x86_64/kernel/drivers/md/raid10.ko.xz
-rw-r--r--   1 root     root        26912 Nov 15 19:00 
usr/lib/modules/6.6.8-200.fc39.x86_64/kernel/drivers/md/raid1.ko.xz
-rw-r--r--   1 root     root        90144 Nov 15 19:00 
usr/lib/modules/6.6.8-200.fc39.x86_64/kernel/drivers/md/raid456.ko.xz

I have raid0.ko.xz and raid456.ko.xz present in initrd.


where, here,

   grep -i raid /etc/dracut.conf.d/99-local.conf
    add_dracutmodules+=" mdraid "
    add_drivers+=" raid0 raid1 raid10 raid456 "

On my system /etc/dracut.conf.d/ is empty and /etc/dracut.conf only contains comments. Seeing that the required modules are in initrd, I suppose I don't need to spell them out explicitly.

I suppose without the modules loaded I wouldn't be able to perform any MD operations at all.

Thanks for the pointers, anyway. It helps in understanding how all these pieces fit together.
--
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to