use mdadm,Its a bit easier.
mdadm -C /dev/md0 -c32 -l5 -p left-symmetric -n3 -x1 /dev/sd{a,b,c,d}3
in the above;
-C creates the array
-c32 is blocks...32 is about default for avg use in raid 5
-l is the raid level raid 5 l5
-p can be left out as mdadm uses left-symmetric by default with raid 5
-n is number of disks in array
-x is spare disks...use if you have 4 or more and want a lil more redundancey...leave out in your case
In my case I had 4 disks and wanted all the disks 3rd partition raided....so for sda3 sdb3 sdc3 sdd3 I do /dev/sd{a,b,c,d}3
in your case /dev/hda5,6,7
More tools in mdadm to work with your array as well.
If there was a previous array you must zero the partition
Id zero it anyway.
Last edited by ironwalker; 03-17-2005 at 03:34 PM.
|