This is an old revision of the document!
Below are some notes on using Linux Software RAID. It's not complete yet of course :)
Marking a damaged disk as failed:
mdadm --manage --set-faulty /dev/md0 /dev/sdc1
Removing the damaged disk from the array:
mdadm /dev/md0 -r /dev/sdc1
Shutdown your system, bring it up into single user mode and partition and format your new disk. Set the partition type as Linux Software RAID autodetect. Of course you need to partition your new disk the same as the previous one. Bring the machine up into it's default runlevel, either by rebooting or by doing init 5 or init 2 depending on your Linux distribution.
Add your new disk to the array:
mdadm /dev/md0 -a /dev/sdc1