Added hard drives; how to configure raid?

Jorge Fábregas jorge.fabregas at gmail.com
Wed Sep 9 12:22:30 UTC 2009


On Wednesday 09 September 2009 12:24:51 am Reid Rivenburgh wrote:
> Is there an easy way to do that on an already-installed system?

Easy is relative :)  Check this:

http://www.archlinux.it/wiki/index.php?title=Convert_a_single_drive_system_to_RAID

Basically, you'll have to:

1- create a partition in each of the 2 drives (e.g. using fdisk)
2- set the type fo these partitions as "Linux raid autodetect" (using fdisk..)
3- use the mdadm command to create your desired RAID
4- create a filesystem (ext3 etc) on the new RAID device (e.g /dev/md0)
5- create a line in /etc/fstab for this device so you can mount it wherever 
you want.

HTH,
Jorge




More information about the users mailing list