If you do not know for RAID friend pro-reference this piece of paper https://blog.51cto.com/14451009/2431487 ( RAID technology full solution illustration -RAID0, RAID1, RAID5 ... [turn] )
Now the mainstream RAID arrays have RAID0 RAID1 RAID5 RAID6 RAID10. Because most Linux server system, but how to achieve it in the RAID array on top of a Linux system. This blog will probably tell us about the setting method RAID0
Here are some experimental environment: VMware version 14, Linux System Version 7
The main advantage of first create RAID0, RAID0 is: write very fast , the disadvantage is: stored data is not reliable, once lost can not be recovered, the composition with the proviso that: the recovery of different sizes from disk, the capacity is the sum of a plurality of disk
First, we give Linux virtual machine add three 10G hard drive, add a complete restart
cd dev directory to see the hard disk has identified three newly added
Then first thing to do is to add a new disk to all three partitions, press the back of "n" just press Enter
After the completion of the space is set to pay attention to the back of the partition type must be fd, Linux raid auto mode. Fd w Enter then save and exit configuration in order to do the first two of the three disks with the added
Use fdisk -l command to view it. The three newly added disk partitions have been finished
Then check the system has not been installed in a RIAD mdadm configuration toolkit, if not I just use yum -y install Click to install mdadm
Next, with mdadm -C / dev / md0 -l0 -n3 / dev / sd [bd] 1 commands put the three disks in a RAID array
Then cd to the next dev directory have already seen the new md0
Next, using mkfs -t xfs / dev / md0 formatted using mount / dev / md0 / mnt mnt mount command directory, so it can use a RAID array of
Finally, use mdadm -D / dev / md0 look, look at the important parameter level red box: the sum raid0, the size of the three disks: 30 G, and finally a red box shows there is sdb, sdc sdd with three disks