chunjiu Posted January 23, 2019 Posted January 23, 2019 Armbianmonitor: http://ix.io/1z1Q 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
Igor Posted January 23, 2019 Posted January 23, 2019 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
Igor Posted January 23, 2019 Posted January 23, 2019 Saved you few hours: https://github.com/armbian/build/commit/9efe564caf98454cd51ca433cdaa048d824cb709 apt update and upgrade in few hours will be enough. 1
chunjiu Posted January 24, 2019 Author Posted January 24, 2019 8 hours ago, Igor said: Saved you few hours: https://github.com/armbian/build/commit/9efe564caf98454cd51ca433cdaa048d824cb709 apt update and upgrade in few hours will be enough. Thank you ! I am very happy to get your help.
chunjiu Posted January 26, 2019 Author Posted January 26, 2019 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.
Recommended Posts