RDAI technology

 RAID  ,它分为软raid和硬raid,raid有以下几种模式,1,镜像模式 2 ,条带模式  3,校验模式 ,其中镜像模式写数据比较慢,条带模式是把数据分散并行的存放于各个磁盘,校验模式主要是将数据进行异或操作,或者使用奇偶校验等来保障数据
      raid 分为0---5
         现在我们一般使用raid 0  1  5  10  
         1 raid0 : 它是一种条带模式,优势为读写数据非常快,一块磁盘就可以实现,缺点为,没有冗余,若一块盘坏掉,数据将丢失
         2  raid1  : 称为镜像模式,也称为冗余模式,至少2块磁盘才可以实现,磁盘的利用率只有50%,写数据比较慢,在raid中安全级别是最高的,一般在安装系统的时候,系统盘可以做raid1来实现。
        3 raid 5  :最少3块磁盘可以实现 ,数据条带模式来分布存储数据,以奇偶校验作为冗余,适用于多读少写的场景,是性能和数据冗余的最佳折中方案。
        4 raid 10   先做raid1  在做raid0  先做镜像后做条带 ,在实际使用中较为常见,最少需要4块磁盘。
        5 raid 01  先做raid 0在做raid1  先做条带在做镜像,同样需要4块磁盘才可以实现。
Types of Read and write performance safety Disk utilization cost Application Environment
raid0 the best Worst highest lowest Security is not particularly high, large file write storage system
raid1 There is no difference between reading and a single disk, mainly because writing needs to write to two disks at the same time highest 50% difference Higher Suitable for storing important data, such as databases, etc.
raid5 Reading speed is similar to daid0 raid5 <raid1 RAID5> RAID1 medium Data security and storage solutions
raid10 Read=raid10=raid0 write raid10=raid1 raid10 = raid1 raid10 = raid1 Higher Disk utilization is 50%

Guess you like

Origin blog.51cto.com/1012939/2546699