问题原文
原帖链接 · Winker · CC BY-SA 3.0
If I have 2 drives in a RAID 1, and the Raid Controller fails, does that mean the websites on the server will have downtime until the controller is replaced? Or does everything still carry on as software raid automatically until the faulty raid card is replaced?
社区高分解答
原帖链接 · bobflux · CC BY-SA 3.0
the Raid Controller fails
I'm an electronics engineer, so my mental picture of the word "fail" may vary from a software engineers'... I mean, how often do you guys put on safety glasses for debugging?
If your RAID controller board has any kind of hardware failure which involves shorted MOSFETs, tantalum capacitors bursting into fireballs, power supply mishaps and the like, many things can happen, like your server's power supply shutting down because it detects a short. In this case everything goes down.
If the main chip on your RAID card goes dead suddenly, what happens next depends a lot on how the OS and drivers handle sudden unexpected death of a peripheral. For example, I had a PC with a dead harddisk. The PC froze for a while as the OS waited for the harddisk to respond.
People who write OS and drivers usually do this on working hardware. So the code which handles "extension card CPU just caught fire" has never been debugged. Can't blame'em. Fact of life.
There was this time when I designed a USB peripheral. I quickly found out that I had to debug that thing with a junk laptop, because if my USB peripheral misbehaved a little bit too much, the OS would just go OMFG and crash and/or reboot.
Bottom line, a card inside a PC which gets a hardware failure can have any kind of consquences, from nothing at all to kernel panic or full shutdown. So there is no way to answer your question. A RAID card failure is similar to a motherboard failure. The only thing that matters is to get your data back.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
