Submitted by rw on Fri, 03/26/2010 - 20:34.
set up RAID0
Create a full-disk partition on each of two drives to be RAID0 combined. Set each full-disk partition as type fd - Linux RAID Auto-detect
. Use fdisk or your favourite partitioning tool.
Then:
mdadm --create /dev/md0 --level=0 --raid-devices=2 /dev/sda1 /dev/sdb1
sudo /usr/share/mdadm/mkconf force-generate /etc/mdadm/mdadm.conf
sudo mkfs.ext3 /dev/md0
mkdir /raid
sudo mount /dev/md0 /raid
Everything okay to this point? Add the raid to fstab to mount raid automatically after reboot. read more »