Hi,
These instructions are brief, and 7.2 tested, but should work much the same way
with 8 and 8.1. your question was about mirroring which is slightly slower then
a single drive, but you will have data redundency (same info on two
drives.)
RAID0 -> splits data on to two drives for
inproved performance.
RAID1 -> Mirror data on more then one drive to
create redundancy. (slower)
RAID2 onwards, mixes
mirroring and striping to give benefits of both in different mixes, usually
needs 3 or more drives.
I will
concentraite on the first two RAID inplimentations.
1.
Hook both your drives up.
2.
Boot from MDK CDROM and select Expert install.
3.
Choose Diskdrake when you get asked.
4.
Create a 20MB partition of EXT2 on drive1, and point it to /boot. (boot is tiny
and doesn't benefit from Raid.)
5.
Find the area on disk one that you want to be the first Raid-0 array, and select
"Add to Raid" It will be called md0 by default (md means multiple
disk)
you
can then set what level of RAID you want. leave the chunksize of 64k. (its the
size of strips accross the drives. 64k is a good default for large and small
files.)
6.
Select equal size partition on drive 2. and "Add to Raid" select md0 for
target.
7. Do
the same on both drives with the swap, (ie create equal swap partitions on each
drive creating md1 for both..
8.
Click the RAID tab in diskdrake click on the RAID arrays free space
(md0) and choose REISERFS, (or whatever FS you want.) then do the same for
md1 except select linux Swap..
9. Set
the mount point for md0 to / (ie the root partition). I think
the swap will be allocated automatically.
10
Install linux as per normal from that point, MDK should do the rest for
you.
Thats
it, when finished you will have your linux box booting in software RAID, if you
chose mirroring it will be a tiny bit slower then one drive (because its writing
data twice), but if you chose striping it will be probably 10-60% faster then a
single drive.
Hope
that helps someone, I have written that as generic as I can in the hope that it
will help more then one person.....
rgds
Frank
Frank Hauptle
|