Using Fedora Linux To configure RAID requires careful follow some steps. In the example of this tutorial, you will use a system to configure RAID5, whose hard disk is divided into three areas in advance. The partitions used are as follows:
/dev/hde1/dev/hdf2/dev/hdg1
Please make sure that the steps listed below will suit your particular environment.
RAID partitions
First, you have to delimit two or more partitions, each on a separate disk. If you build RAID 0 or RAID 5, each partition should be roughly equal, just like this scenario. RAID limit data has less access to each partition than the smallest partition in the RAID set
Determining Available partitions
First, use the fdisk-l command to view all available, mounted, or not mounted file systems on your system. You may also want to use the DF command to display mount points for installed file systems.
These two commands will help you easily delineate the partitions you want to use. The following is an example of some output information for these two commands.
[Root@bigboy tmp]# fdisk-lhttp://www.aliyun.com/zixun/aggregation/29800.html >disk/dev/hda:12.0 GB, 12072517632 bytes255 heads, sectors/track, 1467 cylindersunits = cylinders of 16065 * (8225280 bytes), Device Boot Start end Blocks Id Sy STEM/DEV/HDA1 * 1 104391 linux/dev/hda2 144 1052257+-Linux/dev/hda3 145 209 522112+ Linux SWAP/DEV/HDA4 210 1467 10104885 5 Extended/dev/hda5 210 655 3582463+ linux....../dev/hda15 1455 1467 104391 Linux[root@bigboy Root@bigboy tmp]# df-kfilesystem 1k-blocks Used Available use% mounted on/dev/hda2 1035692 163916 819164 17%//dev/hda1 101086 8357 87510 gros/boot/dev/hda15 101086 4127 91740 gros/data1........./dev/hda7 5336664 464228 4601344 calculated/var[ Root@bigboy tmp]#