With a new computer, ready to install a dual system, Windows used to play games, Linux to write code. Dedicated to buy two 1T hard drives, want to use to build RAID0, using parallel I/O to improve the performance of the computer.
Select the motherboard when selected to support the raid of the motherboard, MSI B85-g43 Gaming, can use MSI super RAID technology, but bought after found that the driver of this thing is EXE program, OH, the motherboard support is only a pseudo raid, can only be used under Windows, Think about it or decide to give up the use of RAID in Windows, after all, just to get the casual system, Linux has to pursue performance, so the use of soft raid on Linux to achieve.
First on the first disk on the installation of Windows 8, to 100G Primary partition as C disk, the rest of the hard drive is not moving, and so installed the system to plan the hard drive.
When the system is installed, use the Minitool Partition Wizard home Edition 7.0来 to plan your hard drive. Directly above the diagram, explained later.
Total 1.86T,
Windows:
100G system partition, primary partition
231.5G Game Installation
200G Download File
200G Download Game
150G installation Software
150G Tools
Shared hard disk:
100G Document
331.5G all kinds of music, movies, pictures
Linux: Using the latest FEDORA20
300M boot partition, primary partition, do not use RAID, because GRUB2 visual does not support raid, so separate the boot out
300M boot backup partition, primary partition, backup a boot partition, can use this partition to boot when unexpected
3.6G swap partition, Swap0 + SWAP1, 1.8G, distributed on two hard drives
20G mount to/,sys0 + sys1, 10G
50G/USR, Usr0 + USR1, 25G
25G/HOME,HOME0 + home1, 12.5G
50g/var, Var0 + var1, 25G
20g/opt, Opt0 + opt1, 10G
230.8g/data, data0 + data1, 115.4G, for storing a variety of downloaded software, compression packs, virtual machines
At this point, the partition scheme is completed, Minitool Partition Wizard The Windows Division, and the Linux 400G according to the above zoning plan format to EXT4 file system, and then start to install the system on live CD ~
To engrave the Fedora Live CD installation system on a U disk
Because Fedora Setup does not have the option to select RAID directly on disk partitioning, I use the console for raid.
The tool used here is mdadm.
First, you switch to root with Su root and use fdisk-l to view the current partitioning situation.
/dev/sda
/dev/sdb
Can observe now/dev/sda3 and/DEV/SDB1 respectively are boot and bootbak, these two partitions do not have to manage
The/dev/sda5-11 are the same size as the/dev/sdb5-11, so this is part of the hard drive we use to make raid.
Making swap partitions
$ mdadm-cv/dev/md0-l0-n2/dev/sd{a,b}5$ mkfs.ext4/dev/md0 This step should be done, otherwise in the installer can not see the hard drive md0, the specific reason for the unknown command may also be written as $ mdadm--create- Verbose/dev/md0--level=0--raid-devices=2/dev/sd{a,b}5 $ mkfs.ext4/dev/md0
As described above, the rest of the partitions are also made into a RAID partition, reboot the system, and re-enter the Live CD installation interface, which can be seen on the hard disk partition.
Select a partition, fill in the mount point on the right detail, click Repartition, select Ext4 or swap, and then click Update Settings. When you're done, click Start to install the system, and everything will be all right.
After the system is installed, use Df-h to find out
Use Cat/proc/mdstat to view the running status of a RAID partition
Finally, to test the speed of the RAID0.
First install the Hdparm Test tool, yum install hdparm.x86_64
Use the HDPARM-TT device name to test, test/DEV/SDA and/dev/md0 separately, test results are as follows
RAID0 speed up nearly twice times, very good results ~ ~