from:
http://www.flmnh.ufl.edu/linux/linux_software_raid.htm
Setting up Linux Software RAID on CentOS
* * RAID is not a substitute for data backups! Always backup
your data! * * >
This document describes how to configure your system for
Software RAID1 (mirroring) during the CentOS 4.x clean install. We
will mirror data between two hard drives to prevent data loss in
the event of a single hard drive failure.
The first section shows how to do a basic setup without LVM. The
second section shows how to do LVM on top of software RAID.
Software RAID setup during CentOS installation
For this procedure, we will go with a somewhat simplified setup
that includes a single root filesytem and a swap partition. This is
similar to the disk layout of a CentOS Automatic partitioning
scheme.
Steps 3 and 4 (below) will create the device that will hold the
root filesystem.
Steps 5 and 6 (below) will create the swap partition.
Note: This document uses sda/sdb as the hard drive device names. On
most GNU/Linux systems this will be true for SCSI or SATA drives.
PATA IDE drives will be named hda/hdb.
When you get to the Disk Partitioning Setup screen,
select:
Manually partition with Disk Druid