I got this configured, and it apparently works. Documenting the steps (as best I remember) for posterity:
Most of this came rather linearly from:
https://raid.wiki.kernel.org/specifically:
https://raid.wiki.kernel.org/articles/r/a/i/RAID_setup_cbb2.htmlHW configuration:
2 - SATA2 disks (3GB) in RAID0, same manufacturer/model/size. Not partitioned or formatted, connected to mobo sata ports. Appear to system as /dev/sdb & /dev/sdc.
AVLinux includes the raidX kernel module drivers, so:
modprobe raid0
then,
cat /proc/mdstat
to verify device was created.
Also, add the kernel module to /etc/modules to load module at bootup.
raid0
Install mdadm:
apt-get install mdadm
apt asks about whether this raid array will host the booting system, etc. For me, no, so I don't select the options necessary for that situation.
create the raid0 array:
mdadm --create --verbose /dev/md0 --level=stripe --raid-devices=2 /dev/sdb /dev/sdc
record the raid config into /etc/mdadm/mdadm.conf:
mdadm --detail --scan >> /etc/mdadm/mdadm.conf
format the raid0 array (I chose standard ext4 w/defaults after consulting opensourcemusicians on irc):
mke2fs -v -t ext4 /dev/md0
edit /etc/fstab to mount the device at bootup:
/dev/md0 /media/data ext4 rw,user,auto 0 2
Then, after reboot, mounting of /dev/md0 is the first message seen. /media/data is accessible for read/write. I haven't profiled performance, but it would be expected to near double from a single disk\spindle.
hope this is useful to someone sometime,
rickbol