Jump to content

Module md_mod not found in directory /lib/modules/4.19.13-sunxi64


chunjiu

Recommended Posts

Armbianmonitor:

Hello everyone,

 

I want to make up a RAID 1 array with two disk,  but mdadm tells me that I can't find the md_mod module :

 

mdadm: Note: this array has metadata at the start and may not be suitable as a boot device. If you plan to store '/boot' on this device please ensure that your boot-loader understands md/v1.x metadata, or use --metadata=0.90 Continue creating array? y

modprobe: FATAL: Module md_mod not found in directory /lib/modules/4.19.13-sunxi64

mdadm: Fail create md0 when using /sys/module/md_mod/parameters/new_array

mdadm: unexpected failure opening /dev/md0

 

I looked up the /lib/modules/4.19.13-sunxi64 directory,  yes , this module does not exist.

 

Is it forgotten, or does it not exist?

 

Or how to do RAID 1 ?

 

This is my order:

 

  sudo mdadm -C /dev/md0 -l1 -n2 /dev/disk/by-partuuid/3ff81a41-01 /dev/disk /by-partuuid/cf665fbd-01

Link to comment
Share on other sites

2 hours ago, chunjiu said:

yes , this module does not exist.


You can build your own kernel with features you need: https://github.com/armbian/build or send a PR with changes to the kernel config: https://www.armbian.com/get-involved. Config file is here: https://github.com/armbian/build/blob/master/config/kernel/linux-sunxi64-next.config

Link to comment
Share on other sites

Tragic thing ... In China, this is an impossible task.

 

I have tried it for 3 days and there is no way to execute the compilation process.

 

Because I can't connect to github properly.

 

Can only wait for official compilation results.

 

:unsure:

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines