On Tue, Mar 31, 2009 at 11:31 PM, Eric Bélanger <snowmaniscool@gmail.com> wrote:
On Mon, Mar 30, 2009 at 3:07 AM, 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)
Last Fix: -fixed booting from partitionable raid, by loading md_mod before assembling.
Passed Tests: - Tested normal raid 1 setup with and without mdadm.conf modified. - Tested raid1 partitionable raid with extended and without extended partition. - Tested uuid assembling from commandline
I think this is ready to move to core, please signoff. greetings tpowa --
Signoff x86_64: RAID5 with modified mdadm.conf
Signoff on a RAID 1 setup using the mdadm hook. -Dan