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

One drive failed in my RAID 1 array, am I safe to replace it without losing data?

· 52CE 我爱测

We have a server with three disks. Two of them are in RAID 1 defined in BIOS. One of these is showing an error at the bootup screen with the corresponding disk serial code in red. I intend to replace it but I'm very wary of doing…

问题原文

原帖链接 · Piovezan · CC BY-SA 3.0

We have a server with three disks. Two of them are in RAID 1 defined in BIOS. One of these is showing an error at the bootup screen with the corresponding disk serial code in red.

I intend to replace it but I'm very wary of doing something wrong.

  1. Is it just a matter of turning the server off, replacing the disk, and turning it on then waiting for the disks to synchronize?

  2. We haven't bought the replacement disk yet. The defective one is a 1.8 TB (2 TB?) Hitachi hard disk. Is there a way to see the RPM (7200 or 5400) in order to buy the correct one without having to turn the server off? (I have no problem in turning it off, it would just be more convenient that way).

  3. I'm assuming a missing disk won't affect the RAID 1 config settings (the server will only lose its mirror disk until a replacement is put in the slot) but out of curiosity I'd like to be sure. Will the RAID 1 settings be kept unchanged?

已采纳解答

原帖链接 · Zac67 · CC BY-SA 3.0

  1. Check whether your server supports hot plug - this is the easiest method: pull out the failed HDD, plug in the new one. Without hot plug, you need to shut down the server, replace the failed disk (check the IDs at this point), power up, and possibly tell the BIOS which disk is to be mirrored where (mind the IDs). Rebuild/remirror should start.

  2. You should replace the disk with a type that matches the remaining disk. Mixing different speeds is not a very good idea. If the disks are not vendor-specific you should have the exact type documented. Additionally, the RAID software should show the exact disk types. Make sure the new disk is at least the size of the remaining one.

  3. You should only replace the disk once replacement has arrived. Depending on the actual problem, the defective drive might still provide some support for the other disk. Additionally, with hot-plug slots, you shouldn't leave a slot open for an extended time (the cooling might fail).

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

资料来源与适用范围

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

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

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