Results 1 to 5 of 5
Hi guys, Just a quick question. Is there any way to build mdadm into the linux kernel? Thanks in advance...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 01-18-2013 #1
Building mdadm into the kernel - possible?
Just a quick question. Is there any way to build mdadm into the linux kernel?
Thanks in advance
- 01-18-2013 #2
mdadm is a userspace tool.
It cannot and should not be part of the kernel.You must always face the curtain with a bow.
- 01-18-2013 #3
Hi, thanks for the reply.
Is there any way it can be run before usb hadware detection then?
- 01-18-2013 #4
Why? It usually makes sense to find and initialize devices before using them.
And when? During bootup or after?
What is your usecase?You must always face the curtain with a bow.
- 01-18-2013 #5
The reasoning behind it is that I have a Raspberry Pi and you can edit cmdline.txt to point to an external USB device and have it continue to boot from there (once the initial boot strap and kernel have started).
I have the Pi successfully working on an external drive. But, now I am playing with a RAID 5 array and want to tell cmdline.txt to continue to boot from that.
So, in order for that to work mdadm has to be running before the usb detection phase. Otherwise, the OS load just hangs straight after the USB drives are detected as the RAID array not up yet.
I am hoping that if mdadm is running before usb detection, the RAID array will be available to continue to boot from.
Any help would be awesome.