How to set up a Linux system under a RAID array

  

Because the storage speed of a RAID disk array is higher than that of a single hard disk, you usually choose to set up a RAID disk array when you install the system. The following small series introduces you to the RAID disk array. The method of building a Linux system.

Newly equipped with a computer, ready to install a dual system, windows used to play games, linux used to write code. I bought two 1T hard drives and wanted to build RAID0 and use parallel I/O to improve the performance of the computer.

When choosing the motherboard, I chose the motherboard that supports RAID, msi B85-G43 GAMING, can use the super raid technology of msi, but after buying it, I found that the driver of this thing is the exe program, huh, the motherboard supports It's just a pseudo raid, it can only be used under windows. If you think about it or decide to give up using raid in windows, after all, it is just a system for daily leisure. Linux has to pursue performance, so use soft RAID on Linux.

First install Windows 8 on the first disk and give the main partition of 100G as the C drive. The rest of the hard drive will not move first, and then install the system and then plan the hard drive.

After the system is installed, use MiniTool Partition Wizard Home Edition 7.0 to plan the hard disk. Directly above, explained later.

A total of 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 various music, movies, pictures

linux: use the latest fedora20

300M boot partition, primary partition, do not use raid, because grub2 visual test does not support raid, so the boot will be separate Split out

300M boot backup partition, primary partition, backup a boot partition, you can use this partition to boot when there is an accident

3.6G swap partition, swap0 + swap1, each 1.8G, distributed in

20G mounted on two hard disks to /, sys0 + sys1, each 10G

50G /usr, usr0 + usr1, each 25G

25G /home,home0 + Home1, each 12.5G

50G /var, var0 + var1, each 25G

20G /opt, opt0 + opt1, each 10G

230.8G /data, data0 + Data1 Each 115.4G is used to store various downloaded software, compressed packages, virtual machines

So far, the partitioning scheme is completed, the MiniTool Partition Wizard divides the windows partitions well, and the linux 400G is in accordance with the above partition plan. Format the words into the ext4 file system, then start to use the live cd to install the system ~

on the U disk engraved fedora live cd installation system

Because the fedora installation program is in the disk partition There is no option to choose RAID directly, so I use console to do RAID.

The tool used here is mdadm.

First use su root to switch to the root user, and use fdisk -l to view the current partition.

/dev /sda

/dev /sdb
Previous Next 12 Total 2

Copyright © Windows knowledge All Rights Reserved