RAID10 和 RAID0+1 有什么区别

作者&投稿:戈帖 (若有异议请与网页底部的电邮联系)
RAID0+1和RAID10的区别及安全性问题~

RAID10与RAID01

RAID10~RAID0+1~RAID0+RAID1
RAID01~RAID1+0~RAID1+RAID0

如果对2n(n>=2)作镜像,系统将自动执行RAID1+0

一点解释:
RAID 0+1 - using 4 drives, two pairs are striped, and the results mirror each other. In this configuration, when one of the drives fails, it actually breaks the stipe that it belongs to, which in turn breaks the mirror... at this point, all you have is 1 stipe. At this point, if one drive fails, you are in trouble. To recover, the offending drive is removed, and the entire stipe needs to be resync'd.

RAID 1+0 - using 4 drives, two pairs are mirrored, and the results are used to create a single stripe. In this configuration, when one of the drives fails, it only breaks one mirror, without affecting the stripe... at this point, only 1/2 of the stipe is mirrored... but if a 2nd drive failure were to occur, it has a 2-in-3 chance of occuring on the last mirror... if it does, you are still OK. To recover, the offending drive is removed, and only the mirror of 1/2 the stripe needs to be resync'd.

举例说明:
raid 1+0
A1=B1
A2=B2
A=A1+A2
B=B1+B2
当A1坏时,B1再坏整个RAID完蛋,几率为1/3

raid 0+1
A=A1+A2
B=B1+B2

A=B
当A1坏时,A即坏但是同时B坏任何一块整个RAID都完蛋,几率为2/3

所以1+0好于O+1

RAID磁盘阵列是什么意思?RAID0、1、5都有什么不同?

构成先后的差别

RAID 0+1是先让磁盘组内的成员组成RAID 0条带化,然后磁盘组之间为RAID 1镜像关系;RAID 1+0是先让磁盘组内的成员组成RAID 1互为镜像,然后磁盘组之间RAID 0条带化。

容错性的区别

RAID 0+1 的损坏一块磁盘之后,所在的RAID 0组即认为损坏,RAID 0+1 实际上已经退化为一个RAID 0 的结构,此时,上面那组RAID 0随便坏一块,整个RAID就崩溃了。

总结:使用RAID 1+0比RAID 0+1具有更好的容错性,RAID1+0比RAID0+1安全得多。

扩展资料:

RAID-0 等级 
Striped Disk Array without Fault Tolerance( 没有容错设计的条带磁盘阵列)

RAID-1 等级 
Mirroring and Duplexing (相互镜像)

RAID-5 等级 
Independent Data disks with distributed parity blocks (独立的数据磁盘与分布式校验块)

RAID-10 等级 
Very High Reliability combined with High Performance (高可靠性与高性能的组合)

参考资料:百度百科——RAID 0



可以这样理解:
    RAID0+1是先做两个RAID0,然后再做RAID1,因此RAID0+1允许坏多个盘,但只能在坏在同一个RAID0中,不允许两个RAID0都有坏盘。
    RAID1+0是先做RAID1,然后再做RAID0,因此RAID1+0允许坏多个盘,只要不是一对磁盘坏就可以啦。

因此说RAID1+0比RAID0+1安全得多,因为在同一对磁盘中,两块磁盘都坏掉的概率很低。

    RAID 0和RAID 1分别用于增强存储性能(RAID 0 条带)和数据安全性(RAID 1 镜像),而RAID 0+1和RAID 10兼顾了RAID 0和RAID 1的优点,它在提供RAID 1一样的数据安全保证的同时,也提供了与RAID 0近似的存储性能。虽然RAID 0+1和RAID 10基本原理相近,都是RAID0和RAID1的结合,不过还是有些区别。下面做进一步的介绍。


RAID 0+1原理






“图一”是RAID 0+1(加速镜像,即先条带再镜像)原理图。图中有八块物理磁盘,首先RAID控制器通过RAID 0技术分别抓取四块磁盘组成二个虚拟盘,第二步控制器再通过RAID 1技术将二个虚拟盘形成一个虚拟盘,对于外部服务器只有最终形成的虚拟盘可见。




RAID 10原理





“图二”是RAID 10(镜像加速,即先镜像再条带)原理图,我们可以看到RAID 10也是通过二步完成。首先RAID控制器通过RAID 1技术对八块物理磁盘进行冗余,形成4块虚拟磁盘,第二步控制器再对4块虚拟磁盘进行RAID 0加速,产生一块最终服务器可见的虚拟磁盘。

    对于使用RAID 0+1或者RAID 10技术的服务器最终访问的都是具有冗余的加速虚拟磁盘。现在我们的问题是二种RAID技术到底那种更加优秀?

RAID0+1和RAID10的区别





在RAID 0+1技术中,当一块物理磁盘出现故障将导致整个虚拟磁盘损失,因此相当于四块物理磁盘(如图三)的有效故障。如果其它四块物理磁盘有一块丢失,数据将发生丢失。虽然从原理上可以从剩余磁盘数据中重建,但目前市场上的RAID控制器都不能做到数据完全恢复。
 




而在RAID 10的情况下,当一块独立的物理磁盘故障后(如图四),由于有一块对应镜像磁盘保护数据(除非对应的特定镜像硬盘也同时发生故障),因此不会对性能带来影响,从而显著高于RAID 0+1的容错性。此外,磁盘故障后的恢复成本RAID 10技术也远低于RAID 0+1。在RAID 10技术中只需要重建一块物理磁盘,而RAID 0+1技术必须重建由四块物理磁盘组成的虚拟磁盘,从这点也能够体现出RAID 10相对RAID 0+1的优势。
 
小结
:RAID 10在整体容错能力和恢复代价上比RAID 0+1更有优势,所以更为常用。



RAID1+0比RAID0+1安全得多,因为在同一对磁盘中,两块磁盘都坏掉的概率很低。
RAID0+1是先做两个RAID0,然后再做RAID1,因此RAID0+1允许坏多个盘,但只能在坏在同一个RAID0中,不允许两个RAID0都有坏盘。

RAID1+0是先做RAID1,然后再做RAID0,因此RAID1+0允许坏多个盘,只要不是一对磁盘坏就可以啦。

RAID 0和RAID 1分别用于增强存储性能(RAID 0 条带)和数据安全性(RAID 1 镜像),而RAID 0+1和RAID 10兼顾了RAID 0和RAID 1的优点,它在提供RAID 1一样的数据安全保证的同时,也提供了与RAID 0近似的存储性能。虽然RAID 0+1和RAID 10基本原理相近,都是RAID0和RAID1的结合,不过还是有些区别。



确实,基本上两者的原理很像,都是RAID0和RAID1的结合,不过还是有些区别的。

raid01,先条带后镜像
aba'b'

raid10是先做镜像,再条带
aa'bb'

Raid10要比raid01可靠性高,因为raid10中的任何一个盘失效,还有一个镜像存在。而01中任何一个盘失效则完全降级为raid1了。

性能相差不大。

以下转自http://zhidao.baidu.com/question/6077589.html
RAID10与RAID01

RAID10~RAID0+1~RAID0+RAID1
RAID01~RAID1+0~RAID1+RAID0

如果对2n(n>=2)作镜像,系统将自动执行RAID1+0

一点解释:
RAID 0+1 - using 4 drives, two pairs are striped, and the results mirror each other. In this configuration, when one of the drives fails, it actually breaks the stipe that it belongs to, which in turn breaks the mirror... at this point, all you have is 1 stipe. At this point, if one drive fails, you are in trouble. To recover, the offending drive is removed, and the entire stipe needs to be resync'd.

RAID 1+0 - using 4 drives, two pairs are mirrored, and the results are used to create a single stripe. In this configuration, when one of the drives fails, it only breaks one mirror, without affecting the stripe... at this point, only 1/2 of the stipe is mirrored... but if a 2nd drive failure were to occur, it has a 2-in-3 chance of occuring on the last mirror... if it does, you are still OK. To recover, the offending drive is removed, and only the mirror of 1/2 the stripe needs to be resync'd.

举例说明:
raid 1+0
A1=B1
A2=B2
A=A1+A2
B=B1+B2
当A1坏时,B1再坏整个RAID完蛋,几率为1/3

raid 0+1
A=A1+A2
B=B1+B2

A=B
当A1坏时,A即坏但是同时B坏任何一块整个RAID都完蛋,几率为2/3

所以1+0好于O+1

raid10与raid01
raid10~raid0+1~raid0+raid1
raid01~raid1+0~raid1+raid0
如果对2n(n>=2)作镜像,系统将自动执行raid1+0
一点解释:
raid
0+1
-
using
4
drives,
two
pairs
are
striped,
and
the
results
mirror
each
other.
in
this
configuration,
when
one
of
the
drives
fails,
it
actually
breaks
the
stipe
that
it
belongs
to,
which
in
turn
breaks
the
mirror...
at
this
point,
all
you
have
is
1
stipe.
at
this
point,
if
one
drive
fails,
you
are
in
trouble.
to
recover,
the
offending
drive
is
removed,
and
the
entire
stipe
needs
to
be
resync'd.
raid
1+0
-
using
4
drives,
two
pairs
are
mirrored,
and
the
results
are
used
to
create
a
single
stripe.
in
this
configuration,
when
one
of
the
drives
fails,
it
only
breaks
one
mirror,
without
affecting
the
stripe...
at
this
point,
only
1/2
of
the
stipe
is
mirrored...
but
if
a
2nd
drive
failure
were
to
occur,
it
has
a
2-in-3
chance
of
occuring
on
the
last
mirror...
if
it
does,
you
are
still
ok.
to
recover,
the
offending
drive
is
removed,
and
only
the
mirror
of
1/2
the
stripe
needs
to
be
resync'd.
举例说明:
raid
1+0
a1=b1
a2=b2
a=a1+a2
b=b1+b2
当a1坏时,b1再坏整个raid完蛋,几率为1/3
raid
0+1
a=a1+a2
b=b1+b2
a=b
当a1坏时,a即坏但是同时b坏任何一块整个raid都完蛋,几率为2/3
所以1+0好于o+1


莱州市17898859671: RAID 10 与RAID 0+1有什么区别?
帅阅长春: 可以这样理解: RAID0+1是先做两个RAID0,然后再做RAID1,因此RAID0+1允许坏多个盘,但只能在坏在同一个RAID0中,不允许两个RAID0都有坏盘. RAID1+0是先做RAID1,然后再做RAID0,因此RAID1+0允许坏多个盘,只要不是一对磁盘坏就可以啦. 因此说RAID1+0比RAID0+1安全得多.

莱州市17898859671: raid1和raid10的区别 -
帅阅长春: RAID1是镜像,一般只是指2块盘,多盘做RAID1就是RAID10,即两两磁盘做RAID1,再整合在一起做RAID0. 4块磁盘做RAID10后可用容量自然是2块盘容量,坏掉2块盘要看坏掉的是哪2块,都是同一个RAID1的2块,那就完蛋了,否则还能用,可以恢复的. RAID5是采用奇偶校验方式,可用容量是N-1,4块磁盘可用容量即是3块盘容量.

莱州市17898859671: raid0,raid1,raid10之间的区别 -
帅阅长春: RAID 0:无差错控制的带区组 要实现RAID0必须要有两个以上硬盘驱动器,RAID0实现了带区组,数据并不是保存在一个硬盘上,而是分成数据块保存在不同驱动器上.因为将数据分布在不同驱动器上,所以数据吞吐率大大提高,驱动器的负...

莱州市17898859671: RAID1+0和RAID10 有驱别吗?? -
帅阅长春: 是一样的 RAID10 就是 RAID1+0 .

莱州市17898859671: raid 10 和 raid01的区别 -
帅阅长春: raid01比较缺乏安全性,且故障时难以恢复,实际应用中几乎没有人会选择. raid10速度较快,故障容易恢复. 以4块盘为例: raid 01是2块盘组成raid 0,然后把2组raid 0组成1个raid 1. raid 10是2块盘组成raid 1,然后把2组raid 1组成1个raid ...

莱州市17898859671: RAID0+1和RAID10的区别及安全性问题 -
帅阅长春: RAID10与RAID01 RAID10~RAID0+1~RAID0+RAID1 RAID01~RAID1+0~RAID1+RAID0 如果对2n(n>=2)作镜像,系统将自动执行RAID1+0 一点解释:RAID 0+1 - using 4 drives, two pairs are striped, and the results mirror each other. In this ...

莱州市17898859671: 什么是RAIDRAID0,RAID1,RAID2,RAID3,RAID4,RAID5,RAID6,RAID10 -
帅阅长春: 以下可做参考:RAID0 (又称为Stripe或Striping--分条) 即Data Stripping数据分条技术.RAID 0可以把多块硬盘连成一个容量更大的硬盘群,可以提高磁 盘的性能和吞吐量.RAID 0没有冗余或错误修复能力,成本低,要求至少两个磁盘,一般...

莱州市17898859671: 硬盘阵列模式RAID 0,RAID 1,RAID 5,RAID 10是什么意思? -
帅阅长春: 二楼说的很专业 我来说个简单的:raid0 就是把多个(最少2个)硬盘合并成1个逻辑盘使用,数据读写时对各硬盘同时操作,不同硬盘写入不同数据,速度快.raid1就是同时对2个硬盘读写(同样的数据).强调数据的安全性.比较浪费....

莱州市17898859671: RAID磁盘阵列的规范 -
帅阅长春: RAID技术主要包含RAID 0~RAID 7等数个规范,它们的侧重点各不相同,常见的规范有如下几种:RAID 0:RAID 0连续以位或字节为单位分割数据,并行读/写于多个磁盘上,因此具有很高的数据传输率,但它没有数据冗余,因此并不能算是真正...

莱州市17898859671: 什么是服务器阵列?是否就是服务器集群?RAID 0是什么?RAID 1是什么?RAID 0+1又是什么?求详解 -
帅阅长春: 希望用最简单的话给楼主讲清楚. 服务器阵列.不知道你是在哪里听到这句话的,或者在那里看到文章的,希望有原文.我想可能是服务器磁盘阵列吧.这样准确一些.行业内,和相关技术书籍没遇到过服务器阵列这词,如果非有人用,那就是...

本站内容来自于网友发表,不代表本站立场,仅表示其个人看法,不对其真实性、正确性、有效性作任何的担保
相关事宜请发邮件给我们
© 星空见康网