Shurdix’ init script supports Software RAID, but there is no automated way to set it up. This page documents the process. I will asumme you are building a level 1 RAID (/dev/md0) with 2 disks (/dev/hda and /dev/hdc), but the principle is general.
Use FDISK to partition /dev/hda and /dev/hdc exactly the same way. My tip is to login on 2 consoles, do a fdisk -l /dev/hda on one and fdisk -l /dev/hdc on the other. By switching the consoles you can spot differences very easily. Don’t forget to set the partition type to fd, usually called linux RAID autodetect
modprobe raid1 mdadm -C /dev/md0 -l 1 -n 2 /dev/hda1 /dev/hdc1
mkreiserfs /dev/md0
answer “Y”
echo -e "CONFIG=/dev/md0\nCONFIGFS=reiserfs" > /etc/sysconfig/config service conf save service setup start
You need internet access for the last step. GRUB will probably complain, ignore it.
grub root (hd0,0) setup (hd0) root (hd0,0) /dev/hdc setup (hd0) quit
Also, check /mnt/conf/boot/grub/menu.lst for missing device references.
Wait for the array to finish syncing and reboot.