mdadm problems

Having issues with your DietPi installation or found a bug? Post it here.
Post Reply
Posts: 1
Joined: Mon Feb 01, 2021 2:01 pm

mdadm problems

Post by rholze »


I´m new to dietpi and have the first problem.
I tried to install a raid array with:

Code: Select all

root@Cloud:/#  mdadm --create /dev/md0 --level=5 --raid-devices=4 /dev/sd{a,b,c,d}
modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/modules/5.4.79-v8+/modules.dep.bin'
modprobe: FATAL: Module md_mod not found in directory /lib/modules/5.4.79-v8+
mdadm: Fail create md0 when using /sys/module/md_mod/parameters/new_array
mdadm: unexpected failure opening /dev/md0
I use dietpi 64bit version v6.34.3 on a Pi4 4GB.
Has anyone an idee, what´s wrong with the moduels?

Thanks Ronald
User avatar
Posts: 4830
Joined: Sat Nov 16, 2019 12:49 am

Re: mdadm problems

Post by Joulinar »


keep in mind you are running Raspberry OS 64bit beta and probably not all functions/modules are already available/deliverd by Raspberry Foundation yet.

probably you would need to update to latest Beta Kernel 5.10 by running apt update && apt upgrade
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply