What Happens When Hard Disk Fails in RAID 5

by nixcraft on February 16, 2006 · 39 comments

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-5 features

RAID level 5 has following features:

  1. Striping with distributed parity
  2. Fault tolerance supported
  3. Redundancy supported (parity)
  4. Hot spare option supported
  5. Minimum 3 or more disk needed
  6. Performance: Good
  7. Protection: Good (if any disk fails data can be recovered)
  8. 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.

Featured Articles:

Share this with other sys admins!
Facebook it - Tweet it - Print it -

{ 39 comments… read them below or add one }

1 Koçsistem July 11, 2007

i ve 6 disks with raid 5 … Now one of them fails and can i change it directly? Should i have to do anything before replacing the red blinking failed disk ? My server is compaq proliant 1600 ..

Reply

2 vivek July 11, 2007

If it is hot swappable disk, just replace it. Otherwise shutdown box and replace hard disk. Reconstruction will begin immediately after replacement!

Reply

3 Nikhil March 12, 2008

Hi,

I had raid 5 with three harddrive of 250 gb… out of three one hard drive fail so according to the raid 5 setup we change the fail harddisk and inserted brand new of 500gb and keep the process for rebuild, it took about 8 hours to rebuild but when the procees was completed i was not able to see the drive in the computer so can you please help to let me know of i am missing some configuration or settings…

cheeers!

Reply

4 jnc006 September 23, 2011

You must change it out with another 250 GB drive you can not have drives of a different size.

Reply

5 marco September 24, 2008

> Nikhil “harddrive of 250gb” “harddisk new 500gb”
Mustn’t it be a pair of harddisks with the same size?

Reply

6 Linn November 4, 2008

In short RAID 5 can survive one disk failure, but not two or more.

Regarding this statement,

it is more better to use external storage or mapped network HDD rather than RAID5 arrangement?

I am a little confused too

Reply

7 vivek November 4, 2008

Linn,

What you talking about?

Reply

8 Rafi January 6, 2009

If you can find zero erros associated with disk you can bring the hard drives(both) force online .. its your luck if you dont loose any system files during force online and system boots up without any missing system file error(s).

Reply

9 Mahendra Kumar August 29, 2009

Dear Sir,
I need the some technical query what is the RED O , RED one and RED 10 please give me
answer.

Reply

10 Vivek Gite August 29, 2009

See our FAQ:

What are the different RAID levels for Linux / UNIX and Windows Server?

RAID 5 vs RAID 10: Recommended RAID For Safety and Performance

Reply

11 kevin September 24, 2009

yeah dude ur crazy. it not only needs to be the same make, model, disk size almost everything. i dont even think it put data on that 500, that doesnt sound right

Reply

12 Srikanth October 18, 2009

Hi,
I have built one RAID 5 system using Intel on-board RAID Controller using 3 HDD’s each 1 TB.

Unfortunately some of Electrical Fluctuations One HDD got Faild (i think that is OS installed)

Kindly help me in procedure of Replacing the New HDD. Directly can I replace the HDD or before installing HDD I have to follow any procedure to recover the data?

Kindly help me out in this issue.

Reply

13 pat November 9, 2009

Hi,
We have MS-Exchange2000 having qty.5,18.4GB HDD and 36GB internal HDD. we are running out of HDD space and just left 1GB. also have RAID5. May I replace 18.4GB to 72GB Internal HDD?and can it be detect or configure automatically?
Thanks
Pat

Reply

14 Brice November 18, 2010

I recommend only one method for this:
*Notify users of downtime, estimate 8 hours or so, depending on your server speed for backing up/restoring data
*Take full “image” backup of server to an external media (I use Acronis, but it is spendy), so that it can be restored using a bootable disk
*Restart the server, boot into the RAID manager and delete the existing RAID array.
*Shutdown the server
*Remove old hard drives, be sure to mark your old drives (0,1,2,3,4..) as you pull them out incase you need to revert back to them
*Install new drives
*Start server, boot into RAID manager (usually CTRL + M at BIOS) and create the new RAID array for the new drives.
*Restart and boot to the bootable disk for the imaging application and restore the data.
*Test that everything is functional and then pat yourself on the back if all is well.
Don’t forget to buy a hot spare drive that is the same size, speed etc.. and always monitor conditions for heat, humidity, dust… stuff that kills components.

Reply

15 Sameer December 12, 2010

This is the best option if you are running short of space. We did it in our enviroment and it was a great success,

Reply

16 Dustin Hedrick August 4, 2010

To respond to a couple inquiries, you MUST replace a single drive from a RAID array with the EXACT same drive. So, each drive independently must be the same size, same speed and by the same manufacturer. It must be the SAME.

You cannot swap one disk that is smaller to one that is newer.

The only way to upgrade the size of an array without completely rebuilding it is to ADD another drive to the array, thus making it larger across the system, however, when you add another 18.4 GB drive, you will NOT get exactly 18.4GB of additional storage, but a smaller amount based on the RAID array.

Also, if you wish to move the data over to another array, the old array must stay in tact EXACTLY how it was originally built. In other words, you need to make sure that if you pull a drive out of a certain tray, you need to number and mark it to make sure it goes right back into the same tray. You cannot swap drives around in the array.

Lastly, if you are going to upgrade an array, my suggestion is to backup your entire system to an external drive by using Acronis or Microsoft’s built in backup system in Server 2008 and once you have a complete backup image, take the RAID down, rebuild it from scratch and then import it from the external drive.

This is a really easy thing to do if you are running VMware and can simply backup an image of the entire system and drop it onto the external drive and then reinstall VMware and import the image back into the VMware system when you build a new array.

Just make sure that if you are upgrading the size of the array by building a new one, that you get the exact same drives for the array. I would consider a RAID 10 if you can and if not a RAID 5.

That’s just my thoughts. You can take them or leave them, but I have had to rebuild arrays a number of times both successfully and not! ;)

pd

Reply

17 Yugandhar October 9, 2010

The Information was really userfull..Thank you so much..

Reply

18 Ali Al Qubaisi October 17, 2010

hello
i have 3 hard drives that connected by raid 5 technology one of them had break down , i didn’t find the same thing i found 73GB 15000kbs
and the old one was 73Gb 10000kbs

now when i buy the new one and connect it with the the other 2 hard drives ? is it OK ?or i will face conflicts ???

Reply

19 Neyo October 25, 2010

i love this forum and i wil love to say that am new to this RAID stuff and i will appreciate if someone could help me out with full details on it and what to buy in other to set it up for a server. thnks

Reply

20 Brice November 18, 2010

The server must support RAID technology. There are two methods; hardware or software. Hardware RAID is faster and more fail-safe.
For hardware RAID, you can boot into the RAID manager at startup and create virtual disks or manage existing disks. Software version is done inside the OS. Most server’s like Dell have an application that will allow you to manage the hardware RAID from within the OS so you don’t have to shutdown the server to make changes. This is called Dell OpenManage Server Administrator.
To setup a new RAID, you first need to backup all data to an image file (I use Acronis, but it is spendy) that can be restored using a boot disk. Next, you will create the RAID array, which wipes all data from the disks and prepares them for the array.
RAID 10 is best, as it benefits from speed and redundancy. RAID 5 is second best, it at least has redundancy so you can lose a drive and still be operational. Then you restore the backup image to your server (using boot disk from Acronis). Make sure you have a hot spare on hand for incase a drive fails, and always monitor conditions to be sure server is not too hot, dusty etc.. which perpetuates hard drive failure.

Reply

21 Muthu November 11, 2010

i want some clarification from raid 5 if I have 8 hard drives that connected by raid 5 technology two of them had break down at same time , then raid 5 is work or not ?

Reply

22 Brice November 18, 2010

@Muthu
No, RAID 5 would not be able to reconstruct from parity if two drives fail at the same time.

Reply

23 Brice November 18, 2010

@Ali Al Qubaisi
No, the drives need to be the same speed, size, and from the same manufacturer.

Reply

24 Lacie External Hard Drive - Raid 0 February 9, 2011

I have a Lacie Drive External USB HDD. Chassy contains 4 x 500Gb drives which was operating as Raid 0, one drive has failed on this. Could someone recommend any software that could rebuild the data ? I understand it probably would not be possible to get all data back, but 3/4 of it would be quite nice :D
Also if there is no software that can recover from a USB Based drive, I’d consider throwing a raid controller into a desktop.
Also would i need to know which order of drives are inside the Lacie box, and likewise order them in the same logical order in the desktop controller, or does that matter at all ?
Hopefully this made sense to someone :D lol
:D

Reply

25 Alex February 24, 2011

Happy to find such an informative / educational site with so much inteligent input into varous scenereos and problems.

Keep it up. Going to sign up for the weekly newsletter.

Cheers
Alex

Reply

26 kervin March 2, 2011

the drives does not need to the be the same size. it is required that the new drive to be BIGGER. As for speed., that i have to check but most likely they have to be the same speed.
As for manufacturer, you do not need that same manufacturer but it is strongly recommended.

I have personally tested with different drive sizes and manufacturer and have had no problems rebuilding the raid 5. You should however remember to back up.

Remember, raid means Redundant Array of Independent Disks, In english it means, if one disk goes out your server continues going, it DOES not mean the files are BACKED UP. Remember to backup you files into a seperate mediem.

Reply

27 Keith April 9, 2011

My RAID 5 config failed somehow. I got on the phone with Dell and they had me try quite a few things with the BIOS and Perci settings. It said all my hard drives were online at one point, then it found 2 foreign, then rebuilt so all were online again. I don’t car about my os, I just need some small data file that was not backed up. 2 computer guys looked at it and said I had little chance of recovering my data, but the file recovery guys say it may be recoverable, everyone keeps tinkering with it and it keeps rebuilding and I know this is damaging. I downloaded “File Scavanger” software and it did recover some data that I needed, but not everything as single drive search. The software searches Raid 5, but the order is jumbled. The Dell Power Edge 2900 is about 3 years old with 4 250G Hard drives. Does anyone think I may be able to recover my data?

Thanks for your thoughts.

Keith

Reply

28 Riyas April 13, 2011

hai. I have configured raid 10 with 4 hdd in hp dl380g7 server. How i can find paired hdd?

Reply

29 Nandish Kumar June 1, 2011

In our office we have two diff DC (domain controlllers) in diff locations with diff Oraganstion Units, I want to import 1 OU with user login account from one DC to another DC please help me.

Reply

30 karl July 13, 2011

@ “if 2 drives fail you are hosed … ”

I am no expert … far from it: DIY master. So, when I saw that my Logical Drive failed this morning, then saw from WebBIOS that 2 of 3 Physical Drives had failed, then read this forum … I was NERVOUS. Then I tried something: in WebBIOS I put the FAILED Physical Drives back ONLINE, then rebooted. At startup I got a blue-screen stop error “INACCESSIBLE_BOOT_DEVICE” with a note to CHKDSK /F. At second reboot, CHKDSK ran automatically. Then ….

VOILA! I was welcomed by my login screen. Eureka!

Perhaps I was just plan lucky, but … if you have multiple failed Physical Drives and ARE NOT WORRIED ABOUT LOST DATA SINCE YOU HAVE REGULAR BACKUPS (you really really really should …) then give this workaround a try.

Note: On a DELL Precision WIN2000 w/ Service Pack 3 “server” (really a workstation…) with a laughable 523,000 K of RAM. HA! Will I be upgrading soon??? You betcha!!!

Reply

31 kervin July 14, 2011

Raid 5 only can sustain a single lost disk, it doesn’t matter how many disk you have.
Eg:
if you have 7 disks with raid 5, the data will still be there if you lose 1 but if you lose 2 you are a died duck. It is expensive and more risky to retrieve information for Raid.

Usually, from experience, when 1 disk is lost, get ready for more over the period.

Reply

32 jalal hajigholamali August 3, 2011

nice material

Reply

33 alan of fuxionit August 8, 2011

Nice reads.

Reply

34 A August 9, 2011

I had two hdd out of 3 fail and still got data back, just pointing out that your information is not 100% correct. bye

Reply

35 x080790 August 20, 2011

Yes but doing what exactly?
The method is what I would like to know.

Reply

36 Anthony September 1, 2011

Raid 5, 3 disks, 1 spare

Disk 1 reporting failure imminent
Disk 2 3 okay
Disk 4 SPARE

I have another disk ready to replace the DISK1.

ML350 G4.

How do I safely ‘crash’ the raid to make Disk 4 Spare take over from Disk 1?

I have read that you need PERC6 to be able to re-insert the new drive in Bay1 and have the SPARE copy the data back.

For now, I just want to know how to safely crash the array; or is there a better way?

Thanks all

Reply

37 Anthony September 2, 2011

Found my answer:
If you insert a hot-pluggable drive into a drive bay while the system power is on, all disk activity in the array pauses for a second or two while the new drive is spinning up. When the drive has achieved its normal spin rate, data recovery to the replacement drive begins automatically (as indicated by the blinking Online/Activity LED on the replacement drive) if the array is in a fault-tolerant configuration.
If you replace a drive belonging to a fault-tolerant configuration while the system power is off, a POST message appears when the system is next powered up. This message prompts you to press the F1 key to start automatic data recovery. If you do not enable automatic data recovery, the logical volume remains in a ready-to-recover condition and the same POST message appears whenever the system is restarted.

Reply

38 MCITP Exam October 3, 2011

I have a RAID Level 5 Box and I have installed Microsoft Dynamics GP on it. Hence it is a database server. I need to have a full IMAGE copy so incase of any disaster I can instantly recover. Can anyone tell me how I can take GHOST/IMAGE of all RAID 5 machine? And how I can restore it?

Any help would be highly appreciated.

Reply

39 Anthony October 4, 2011

RAID doesnt care what is on the disks. It looks at them as just ‘Disks’. In RAID5 when a disk fails, it can recover. So you do not Ghost RAID, you Ghost DATA. If that data corrupts, you restore it from a BACKUP/IMAGE. If a DRIVE fails. RAID recovers it for you. I have become a fan of RAID5 with a spare now. A HOTSPARE is an option in most RAID setup choices.
The set-up is 1+1+1 = RAID5
1 = HOT SPARE

RAID5 protects the DRIVES (and the data they contain) against a failure. Having the HOT SPARE allows the RAID utility to fall back onto the SPARE upon drive failure, therefore your RAID is again back at 3 drives and again can lose 1 drive without data loss.

Reply

Leave a Comment

You can use these HTML tags and attributes for your code and commands: <strong> <em> <ol> <li> <u> <ul> <blockquote> <pre> <a href="" title="">
What is 15 + 8 ?
Please leave these two fields as-is:
Solve the simple math so we know that you are a human and not a bot.




Previous post:

Next post: