Q. What happens when a hard disk fails in RAID 5? How many hard drive can fail in RAID 5?
A. RAID is acronym for Redundant Array of Independent Disks, also known as Redundant Array of Inexpensive Disks. It is use to increase reliability. You combine multiple physical hard disks into groups (arrays) that work as a single logical disk i.e. this array of drives appears to the computer as a single logical storage unit or drive.
RAID level 5 has following features:
- Striping with distributed parity
- Fault tolerance supported
- Redundancy supported (parity)
- Hot spare option supported
- Minimum 3 or more disk needed
- Performance: Good
- Protection: Good (if any disk fails data can be recovered)
- Above characteristics makes RAID 5 popular and is well suited to transaction oriented environments.
What happens when hard disk fails in raid 5
- Because of parity, information all data are available in case one of the disks fails. If extra (spare) disks are available, then reconstruction will begin immediately after the device failure.
- However if two hard disks fail at same time, all data are LOST.
- In short RAID 5 can survive one disk failure, but not two or more.
Update: See why RAID 10 is better choice for database server instead of RAID 5 for performance and reliability.
|Category||List of Unix and Linux commands|
|Firewall||CentOS 8 • OpenSUSE • RHEL 8 • Ubuntu 16.04 • Ubuntu 18.04 • Ubuntu 20.04|
|Network Utilities||dig • host • ip • nmap|
|OpenVPN||CentOS 7 • CentOS 8 • Debian 10 • Debian 8/9 • Ubuntu 18.04 • Ubuntu 20.04|
|Package Manager||apk • apt|
|Processes Management||bg • chroot • cron • disown • fg • jobs • killall • kill • pidof • pstree • pwdx • time|
|Searching||grep • whereis • which|
|User Information||groups • id • lastcomm • last • lid/libuser-lid • logname • members • users • whoami • who • w|
|WireGuard VPN||CentOS 8 • Debian 10 • Firewall • Ubuntu 20.04|