The packages you need and the documentation that answers the most common questions about setting up and running raid are listed below. Please review them throughly.
You need to obtain the most recent versions of these packages.
I used linux-2.0.33 from sunsite
I used Slackware-3.4
The detailed instructions in this document are based on the above packages. If the packages have been updated or you use a different linux distribution, you may have to modify the procedures you find here.
The patches, tool assortment, etc... may vary with 2.1 kernels. Please check the most recent documentation at:
ftp.kernel.org/pub/linux/daemons/raid/
I chose to include in the kernel all of the pieces necessary to run from boot without loading any modules. My kernel image is a little over 300k compressed.
Take a look at Ed Welbon's initrd.md.tar.gz for another way to make a bootable raid device. He uses loadable modules. A look at his concise scripts will show you how it is done if you need a very small kernel with modules.
http://www.realtime.net/~welbon/initrd.md.tar.gz
Please read:
/usr/src/linux/Documentation/initrd.txt
as well as the documentation and man pages that accompany the raidtools set. In particular, read man mdadd as well as the QuickStart.RAID document included in the raidtools package.
You may also wish to review:
send mail to: raiddev@nuclecu.unam.mx
send mail to: linux-raid@vger.rutgers.edu (this seems to be the most active list)