大网数据广告活动
服务器运维问答

How RAID 1 and RAID 10 become different when there are 8 logical disk?

· 52CE 我爱测

RAID level 01 is the hybrid version of RAID 1 and 0 and this is illustrated below. Source: Wikipedia.org In COMPUTER ORGANIZATION AND ARCHITECTURE DESIGNING FOR PERFORMANCE (NINTH EDITION) , by William Stallings, the RAID level 1…

问题原文

原帖链接 · Tharindu Sathischandra · CC BY-SA 3.0

RAID level 01 is the hybrid version of RAID 1 and 0 and this is illustrated below.

Source: Wikipedia.org

In COMPUTER ORGANIZATION AND ARCHITECTURE DESIGNING FOR PERFORMANCE (NINTH EDITION), by William Stallings, the RAID level 1 for 8 disk is illustrated as follows.

Here when data is filling to the disks the data fills strip by strip like the RAID 0 and therefore, it become similar to RAID 01. What is the difference between those two?

已采纳解答

原帖链接 · Esa Jokinen · CC BY-SA 3.0

The 2nd example is not RAID 1, but nested RAID 0+1, mirror of stripes (as 10 is stripe of mirrors).

While it is obvious what's the difference between RAID 0+1 and RAID 1+0 with an odd number of disks, it gets more confusing with an even number of disks. It works exactly the same way with 2, 4, 6 and 8 disks, but I'll use a six disk setup for a clearer visualization:

As you can see, you'll end up having very similar disks. With both configurations, you have n/2 capacity, 50% storage efficiency, there isn't huge difference in overall performance, both can always survive one failed drive without data loss, and the theoretical maximum for failed drives for both is n/2.

Yet, RAID 10 and 01 are not identical. During a failure RAID 10 has significant advantage: in a one drive failure all the other mirrors are unaffected, while RAID 01 loses an entire RAID 0 stripe. On a failure RAID 01 leaves half of the drives unprotected, while RAID 10 only leaves its partner.

Scott Alan Miller describes this difference in failure and rebuild in detail and comes to clear conclusion:

Because of the characteristics of the two array types, it is clear that RAID 10 is the only type, of the two, that should ever exist within a single array controller. RAID 01 is unnecessarily dangerous and carries no advantages.

Jeffrey B. Layton, in his comparison, looks at the same situation from a perspective of rebuild time:

In the case of RAID-01, you need to access all of the remaining drives in the array to rebuild the loss of a single drive. The reason is that you have a RAID-1 across two sets of drives that are RAID-0. The loss of a single drive means the entire RAID-0 group has failed.

In the case of RAID-10, if a drive fails, the only it’s pair drive is accessed.

  • RAID-01: Amount of data read & written = (n/2) * single drive capacity
  • RAID-10: Amount of data read & written = single drive capacity

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2017-05-07)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。