On Sun, Mar 8, 2009 at 6:08 PM, Dan McGee <dpmcgee@gmail.com> wrote:
On Sun, Mar 8, 2009 at 1:23 PM, Tobias Powalowski <t.powa@gmx.de> wrote:
Hi http://bugs.archlinux.org/task/10651 http://bugs.archlinux.org/task/9122 both states raid is broken for more complex setups.
According to my earlier mail about assembling raid arrays i wrote a new hook and install file. It uses mdassemble.static from mdadm tarball which is smaller than mdadm.static and does the assembling job and loading of the needed raid module.
How does it work: - If a an array is defined on users system /etc/mdadm.conf, the file will be added to initramfs and used for the assembling things. - If no array was defined it falls back to commandline assembling and a madm.conf file will be created on the fly during bootup. Old command line syntax wasn't changed, uuid support is added (eg. md=0,0900878d:f95f6057:c39a36e9:55efa61b)
Attention: Tested normal raid 1 setup with and without mdadm.conf modified. Not tested yet uuid assembling from commandline and partitionable raid! Will test this soon, if an other dev wants to test, please do so :)
How do I test this, and or use this rather than the [raid] hook? Can you show an example mkinitcpio.conf HOOKS line?
-Dan
My x86_64 raid system booted fine. It has a modified /etc/mdadm.conf and use RAID5.