raid的几个相关问题.

[复制链接]
查看11 | 回复9 | 2005-10-30 17:05:33 | 显示全部楼层 |阅读模式
我接触的较多的就是raid0+1,raid10和raid5.前两种磁盘
利用率低.实际能够使用的磁盘只有物理磁盘的1/2..raid5
写性能差,不适合写为主的数据库,尤其不适合做redo磁盘
所在的目录.空间利用率高..
raid0+1和riad10的区别是什么?如果选择raid10和raid0+1呢?
听说raid10的扩展性能不好?raid0+1的原理还是很好理解
,raid10就不知道了...

raid10和raid0+1是一样的??



http://www.code163.com/info/3466.htm


raid控制卡是什么一个概念? 果一个服务器6个硬盘,2块
做raid0+1,放os,4块做raid0+1,放datafile等.一个raid控制卡,
读写的时候会不会发生等待控制卡的是事情?
回复

使用道具 举报

千问 | 2005-10-30 17:05:33 | 显示全部楼层
我也有一個問題,10塊硬盤做RAID01和10塊硬盤做RAID5,不考慮性能和容量的差別,僅僅只是安全上的考慮,誰的安全性好一些?
回复

使用道具 举报

千问 | 2005-10-30 17:05:33 | 显示全部楼层
以前,看一篇文章,上面好象說用RAID10,當出現一塊磁盤損壞的時候,不會出現性能上的下降,而使用RAID01的時候,出現一塊磁盤損壞的時候,讀寫性能會下降一半,這個是為什么?
回复

使用道具 举报

千问 | 2005-10-30 17:05:33 | 显示全部楼层
最初由 李迪 发布
[B]我也有一個問題,10塊硬盤做RAID01和10塊硬盤做RAID5,不考慮性能和容量的差別,僅僅只是安全上的考慮,誰的安全性好一些? [/B]

应该是raid10和raid0+1好点..raid5不好.
因为raid5坏了1块以上的硬盘就不行了..
回复

使用道具 举报

千问 | 2005-10-30 17:05:33 | 显示全部楼层
最初由 李迪 发布
[B]以前,看一篇文章,上面好象說用RAID10,當出現一塊磁盤損壞的時候,不會出現性能上的下降,而使用RAID01的時候,出現一塊磁盤損壞的時候,讀寫性能會下降一半,這個是為什么? [/B]

不清楚raid10是啥东西..
raid0+1你说的应该是对的.
回复

使用道具 举报

千问 | 2005-10-30 17:05:33 | 显示全部楼层
最初由 lijietz 发布
[B]
不清楚raid10是啥东西..
raid0+1你说的应该是对的. [/B]

RAID10就是RAID1 + 0
回复

使用道具 举报

千问 | 2005-10-30 17:05:33 | 显示全部楼层
最初由 飛雪 发布
[B]
RAID10就是RAID1 + 0 [/B]

问了下牛人,他说这个是错的..

raid10和raid0+1丢失数据的概率不同..我还没搞清楚...


回复

使用道具 举报

千问 | 2005-10-30 17:05:33 | 显示全部楼层
最初由 lijietz 发布
[B]
应该是raid10和raid0+1好点..raid5不好.
因为raid5坏了1块以上的硬盘就不行了.. [/B]

這個我聽我以前一個搞硬件的同事說,假如我們用10塊硬盤做RAID0+1,最倒霉的情況是坏掉2塊的情況下,整個數據庫完蛋,最好的情況下,可以坏掉5塊硬盤還是可以繼續工作的!!
回复

使用道具 举报

千问 | 2005-10-30 17:05:33 | 显示全部楼层
最初由 飛雪 发布
[B]
這個我聽我以前一個搞硬件的同事說,假如我們用10塊硬盤做RAID0+1,最倒霉的情況是坏掉2塊的情況下,整個數據庫完蛋,最好的情況下,可以坏掉5塊硬盤還是可以繼續工作的!! [/B]

明白mirror是啥意思就知道啦.
回复

使用道具 举报

千问 | 2005-10-30 17:05:33 | 显示全部楼层
找到raid10和raid0+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
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行