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

RAID 1 Reliability: 4 drives vs 2 Drives + 2 Spare Drives

· 52CE 我爱测

Which is likely to be more reliable (safer data + lower downtime): having 4 drives in RAID 1 OR having 2 drives in RAID 1 plus 2 spare(s)? In other words, is there an advantage in having spares when you are setting up RAID 1 with…

问题原文

原帖链接 · Gaia · CC BY-SA 4.0

Which is likely to be more reliable (safer data + lower downtime):

having 4 drives in RAID 1 OR having 2 drives in RAID 1 plus 2 spare(s)?

In other words, is there an advantage in having spares when you are setting up RAID 1 with 4 drives?

Background: this is MDADM raid on a current stable Linux distribution. Disks are enterprise grade. Partition in RAID 1 is the root partition (minimal writes), so write performance is not a problem. Hardware allows for hot swapping HDDs. On another partition of the same 4 HDDs I have RAID 10 running for write intensive applications.

已采纳解答

原帖链接 · shodanshok · CC BY-SA 4.0

If by "having 4 drives in RAID" you mean having 4-way RAID1 (ie: 4 duplicate copies of each write), well, this is surely more durable/resilient then a 2-way RAID1 + 2 spares:

  • with 4-way RAID1 all 4 disks need to fail to lose data;
  • with 2-way RAID1 + 2 spares you only need to lose the wrong two disks to lose data (ie: disk #1 fails and, during rebuild, the increased stress kills disk #2)

That said, 4-way RAID1 is generally overkill for large data partition (3-way mirrors tend to be the upper limit used in the wild). However you can use it for simpler setup and/or peace of mind for smaller dataset as /boot and /.

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

资料来源与适用范围

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

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

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