|
The way I set up my RAID0
Setting up a RAID0 during Fedora9 installation using Disk Setup (DiskDruid) with 2 harddrives.
It is important to disable any BIOS (fake-)RAID options for the disccontrollers.
1. Choose manually partition
2. In the next window you see your existing partitions.Delete all (also LVM,if exist)
3. When this is done,there should only be the 2 harddrives (sda,sdb) and their free space.
4. Create a /boot partition : Click "NEW",choose "/boot",select sda,fix size to 100 mB,
Set "Force to be a primary partition"
5. Create a /swap partition : Click "NEW",choose "/swap",select sda,fix size to the amount
of your RAM - 100 mB;e.g. if you have 1024 mB RAM,1024 - 100 = 924
Set "Force to be a primary partition"
6. Create another /swap partition : Click "NEW",choose "/swap",select sdb,fix size to the amount
of your RAM;e.g. if you have 1024 mB RAM,fix size = 1024
Set "Force to be a primary partition"
Why 2 Swaps?AFAIK there is an advantage to have swaps on both harddrives.There is no sense in
setting them to a RAID device.
7. Click the "RAID" button,choose "Create a software RAID partition"
For the File System Type choose "Software RAID", select sda,select "fill to maximum allowable size"
Set "Force to be a primary partition"
8. Click the "RAID" button,choose "Create a software RAID partition"
For the File System Type choose "Software RAID", select sdb,select "fill to maximum allowable size"
Set "Force to be a primary partition"
9. Click the "RAID" button,choose "Create a RAID device" .For the Mount Point choose " / "
For the RAID level choose,of course, "RAID0"; RAID Members must be sda and sdb.
Complete the Fedora installation.When it is done,you can test your read/write speed by opening a terminal:
Type su -l
Type password
Type hdparm -Tt /dev/md0
it should nearly be twice as fast as a single harddrive:
hdparm -Tt /dev/sda or hdparm -Tt /dev/sdb.
For a real RAID benchmark hdparm is not really the right tool;google for it!
Feel free to correct me,I am not a linux geek.
Last edited by realzippy; 18th November 2008 at 10:10 PM.
|