Re: RAID autodetection not working when booting with initramfs

From: Dimitris Zilaskos
Date: Mon Jan 30 2006 - 11:09:29 EST



/*
* check if there is an early userspace init. If yes, let it do all
* the work
*/

So yes, it is by design. Assembling arrays with mdadm gives you a
lot more control than the kernel-autodetect so as you have an
initramfs, it is a good idea to make use of it.

If you *really* want to use the autodetect functionality, you can look
around for a program called 'raidautorun'. It does triggers the
autodetect function from userspace.


Thank you , raidautorun did the trick. I am trying to build an initramfs as much generic as possible to be used with hundreds of systems, so doing a custom image for every possible raid combination is really not an options compared to autodetection.

Thnx again,

--
============================================================================

Dimitris Zilaskos

Department of Physics @ Aristotle University of Thessaloniki , Greece
PGP key : http://tassadar.physics.auth.gr/~dzila/pgp_public_key.asc
http://egnatia.ee.auth.gr/~dzila/pgp_public_key.asc
MD5sum : de2bd8f73d545f0e4caf3096894ad83f pgp_public_key.asc
============================================================================
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/