I. application scenarios
Raid is known as Redundant Arrays of Independent Disks (RAID), which can provide high availability and redundancy according to the needs of business systems. At present, it is more common to realize this function through the RAID array card of the server on the market.
Raid through hardware array card has the characteristics of high reliability and good performance, but for the general enterprise, hardware array card is good. If the large-scale application costs tens of thousands of dollars are not what they can afford, can't there be an IT solution that can not only guarantee data security, but also reduce cost support? Is it?
Of course, soft raid can achieve this demand.
Two. Implementation steps
Softraid is more dependent on the operating system, so its disadvantage is obvious, it needs to occupy system resources (mainly CPU resources). At present, soft raid is common in both Linux and Windows. Linux is implemented by mdadm, while in Windows, it is implemented by disk management after Win2003.
Experimental environment:
A CentOS 7.2 VM, hostname is host1, host1 mounts two 50G data disks, our experiment is completed on these two data disks.
P.S: It should be emphasized that two groups of raid hard drives must be of the same brand and capacity in the production environment. Otherwise, soft raid will easily fail.