Results 1 to 12 of 12

Thread: RAID redundancy - RAID 5 vs RAID 6

  1. #1
    Registered+
    Join Date
    Apr 2007
    Posts
    23
    Thanks
    0
    Thanked
    0 times in 0 posts

    Question RAID redundancy - RAID 5 vs RAID 6

    Hi everyone
    Just starting the process of building a new shared files NAS system. At the moment we have a simple RAID 1+0 setup... 2 stripes of 2 200GB drives, mirrored. Giving us total capacity of 400GB

    It's time these drives were replaced (3 years of heavy service) and I wanted to incorporate a bit more redundancy.
    We're going to make the purchase of a decent 3Ware 8 port RAID card which will give us access to RAID 5 and RAID 6

    I've read that RAID 6 is slightly better, as it can cater for 2 drives to fail and still be ok, whereas in RAID 5 you can only have 1 drive fail.

    For RAID 6 you need a minimum of 5 drives... so 5x500GB drives should equal 1.5TB of disk space (according to the formula on Wikipedia... http://en.wikipedia.org/wiki/RAID_6#RAID_6)
    I will also configure a 6th drive as a hot-spare, so should anything happen then that 6th one will automatically start to be rebuilt into the array.

    Here's my question:
    The more drives you add, the higher the chance you have of a drive failing.
    So if for example you had 50 drives in a RAID 6 array, can you still only get away with 2 drive failures? I don't like those odds!
    Or is the number of failures somehow proportional to the number of drives you have?

    Thanks, B

  2. #2
    Senior Member
    Join Date
    Jul 2004
    Location
    London
    Posts
    2,456
    Thanks
    100
    Thanked
    75 times in 51 posts
    • Mblaster's system
      • Motherboard:
      • ASUS PK5 Premium
      • CPU:
      • Intel i5 2500K
      • Memory:
      • 8gb DDR3
      • Storage:
      • Intel X25 SSD + WD 2TB HDD
      • Graphics card(s):
      • Nvidia GeForce GTX 570
      • PSU:
      • Corsair HX520
      • Case:
      • Antec P180
      • Operating System:
      • Windows 7 Professional x64
      • Monitor(s):
      • HP w2207 (22" wide)
      • Internet:
      • Rubbish ADSL

    Re: RAID redundancy - RAID 5 vs RAID 6

    Quote Originally Posted by batfastad View Post
    Hi everyone
    Just starting the process of building a new shared files NAS system. At the moment we have a simple RAID 1+0 setup... 2 stripes of 2 200GB drives, mirrored. Giving us total capacity of 400GB

    It's time these drives were replaced (3 years of heavy service) and I wanted to incorporate a bit more redundancy.
    We're going to make the purchase of a decent 3Ware 8 port RAID card which will give us access to RAID 5 and RAID 6

    I've read that RAID 6 is slightly better, as it can cater for 2 drives to fail and still be ok, whereas in RAID 5 you can only have 1 drive fail.

    For RAID 6 you need a minimum of 5 drives... so 5x500GB drives should equal 1.5TB of disk space (according to the formula on Wikipedia... http://en.wikipedia.org/wiki/RAID_6#RAID_6)
    I will also configure a 6th drive as a hot-spare, so should anything happen then that 6th one will automatically start to be rebuilt into the array.

    Here's my question:
    The more drives you add, the higher the chance you have of a drive failing.
    So if for example you had 50 drives in a RAID 6 array, can you still only get away with 2 drive failures? I don't like those odds!
    Or is the number of failures somehow proportional to the number of drives you have?

    Thanks, B
    In a RAID6 array you can always 'only' get away wtih having 2 drives failed at any one time, no matter how many drives are in the array. As you're planning to use a hot-spare it improves your redendency even more. The chances of 3 HDD's all failing with 12 hours (before the hot-spare has re-built), are extremely unlikely, espcially in an array of 6 disks

  3. #3
    Administrator Moby-Dick's Avatar
    Join Date
    Jul 2003
    Location
    There's no place like ::1 (IPv6 version)
    Posts
    10,665
    Thanks
    53
    Thanked
    384 times in 313 posts

    Re: RAID redundancy - RAID 5 vs RAID 6

    why not use 6 drives and go for Raid 0+1 ?
    my Virtualisation Blog http://jfvi.co.uk Virtualisation Podcast http://vsoup.net

  4. #4
    Registered+
    Join Date
    Apr 2007
    Posts
    23
    Thanks
    0
    Thanked
    0 times in 0 posts

    Re: RAID redundancy - RAID 5 vs RAID 6

    @Mblaster
    Right ok. So how do huge organisations deal with that? I guess they use some sort of huge clustering system that I don't even know about.
    So I should be fine using RAID 6 with up to 8 drives in use right?

    @Moby-Dick
    Because with RAID 0+1 don't I get exactly the same total capacity?
    (6 x 500GB) / 2 = 1.5TB
    But without the redundancy of RAID 6... ie: 2 simultaneous drive failures and I'm still fine.
    I think with a mirror of stripes (0+1) you can get away with 2 drive failures, but they have to be from the same stripe.
    RAID 1+0 is better than 0+1 I think.

    Thanks, B

  5. #5
    Administrator Moby-Dick's Avatar
    Join Date
    Jul 2003
    Location
    There's no place like ::1 (IPv6 version)
    Posts
    10,665
    Thanks
    53
    Thanked
    384 times in 313 posts

    Re: RAID redundancy - RAID 5 vs RAID 6

    Raid arrays are no substitute for regular backups at the end of the day it makes very little difference to your fault tolerancy as to which mechanism you use ( Raid 5 with a hot spare is as good as any ) If an array is going to die , its going to die
    my Virtualisation Blog http://jfvi.co.uk Virtualisation Podcast http://vsoup.net

  6. #6
    Senior Member
    Join Date
    Jul 2004
    Location
    London
    Posts
    2,456
    Thanks
    100
    Thanked
    75 times in 51 posts
    • Mblaster's system
      • Motherboard:
      • ASUS PK5 Premium
      • CPU:
      • Intel i5 2500K
      • Memory:
      • 8gb DDR3
      • Storage:
      • Intel X25 SSD + WD 2TB HDD
      • Graphics card(s):
      • Nvidia GeForce GTX 570
      • PSU:
      • Corsair HX520
      • Case:
      • Antec P180
      • Operating System:
      • Windows 7 Professional x64
      • Monitor(s):
      • HP w2207 (22" wide)
      • Internet:
      • Rubbish ADSL

    Re: RAID redundancy - RAID 5 vs RAID 6

    Quote Originally Posted by batfastad View Post
    @Mblaster
    Right ok. So how do huge organisations deal with that? I guess they use some sort of huge clustering system that I don't even know about.
    So I should be fine using RAID 6 with up to 8 drives in use right?

    @Moby-Dick
    Because with RAID 0+1 don't I get exactly the same total capacity?
    (6 x 500GB) / 2 = 1.5TB
    But without the redundancy of RAID 6... ie: 2 simultaneous drive failures and I'm still fine.
    I think with a mirror of stripes (0+1) you can get away with 2 drive failures, but they have to be from the same stripe.
    RAID 1+0 is better than 0+1 I think.

    Thanks, B
    I don't know very much about the huge organisations storage setups, biggest thing I've dealt with is smallish RAID 5 arrays, but I'd imagine they use multiple RAID 5/6 arrays, or some other custom solution.

    RAID 0+1 doesn't provide the same redendency as RAID 6, and scales much worse with adding disks, since you need to add another pair each time, only getting half he space you add, where as with a RAID 6 array you'll get all the space from any drives you add to the array. RAID 0+1 can sustain more disk failures theoretically, but only if you're lucky enough to not get the failures on the same mirror.

  7. #7
    Administrator Moby-Dick's Avatar
    Join Date
    Jul 2003
    Location
    There's no place like ::1 (IPv6 version)
    Posts
    10,665
    Thanks
    53
    Thanked
    384 times in 313 posts

    Re: RAID redundancy - RAID 5 vs RAID 6

    on the large HP EVA SAN's I run, we use a mixture of RAID 5 and RAID 0+1 disk groups ( 0+1 primarily for performance of log file drives )
    my Virtualisation Blog http://jfvi.co.uk Virtualisation Podcast http://vsoup.net

  8. #8
    Splash
    Guest

    Re: RAID redundancy - RAID 5 vs RAID 6

    As Moby said, RAID!=Backups.

  9. #9
    The late but legendary peterb - Onward and Upward peterb's Avatar
    Join Date
    Aug 2005
    Location
    Looking down & checking on swearing
    Posts
    19,378
    Thanks
    2,892
    Thanked
    3,403 times in 2,693 posts

    Re: RAID redundancy - RAID 5 vs RAID 6

    Quote Originally Posted by batfastad View Post
    @Mblaster
    Right ok. So how do huge organisations deal with that? I guess they use some sort of huge clustering system that I don't even know about.
    So I should be fine using RAID 6 with up to 8 drives in use right?
    MobyDick has given one solution, but medium size enterprises would probably use RAID 5 with a hot spare and monitoring software to alert them when a disk fails, so the defective one can be hot swapped out. They may also use a mirror server so if one server dies, the other takles over seamlessly. However you will almost certainly find a large tapestore, using multiple tapes, configured to do daily backups, Some organisations might backup more frequently (with two servers, you could back up each one daily, but staggered by 12 hours).

    However, the backup strategu really depends on a risk assessment. With a 6 disk array, whayt are the chances of two disks failing undetected? What is the impact of a total array failure? How much current data could you afford to lose? How long could you afford to wait to get the system up and running again?

    the answers to these questions depend on the business you are running - and ultimately is a management decision. The lower the downtime you can afford, and the higher the resiliance, the more it will cost - both in hardware amd administration effort.
    (\__/)
    (='.'=)
    (")_(")

    Been helped or just 'Like' a post? Use the Thanks button!
    My broadband speed - 750 Meganibbles/minute

  10. #10
    Registered+
    Join Date
    Apr 2007
    Posts
    23
    Thanks
    0
    Thanked
    0 times in 0 posts

    Re: RAID redundancy - RAID 5 vs RAID 6

    Ok that all sounds fine.

    But why would you go RAID 5 over RAID 6?

    I'd be using 5 drives with a hot-spare which gives me 2TB for RAID 5 and 1.5TB with RAID 6.
    1.5TB is fine capacity for us at the moment, and if we need to add more, then there's still another 2 free slots in our hot-swap cages.

  11. #11
    The late but legendary peterb - Onward and Upward peterb's Avatar
    Join Date
    Aug 2005
    Location
    Looking down & checking on swearing
    Posts
    19,378
    Thanks
    2,892
    Thanked
    3,403 times in 2,693 posts

    Re: RAID redundancy - RAID 5 vs RAID 6

    RAID 5 maximises capacity for a given number of disks - at the expense of resiliance (only one disk failure) - which doesn't matter much if the raid is monitored. As I said earlier, it comes down to risk assessment and what is deemed an acceptable risk for your business model.
    (\__/)
    (='.'=)
    (")_(")

    Been helped or just 'Like' a post? Use the Thanks button!
    My broadband speed - 750 Meganibbles/minute

  12. #12
    Registered+
    Join Date
    Apr 2007
    Posts
    23
    Thanks
    0
    Thanked
    0 times in 0 posts

    Re: RAID redundancy - RAID 5 vs RAID 6

    Right ok.
    Well it seems 5x500GB in a RAID 6 with a hot-spare is definitely the way to go for us.

    500GB drives are pretty cheap at the moment.
    And with 2 spare hot-swap bays in the case I'm building, then we can easily increase capacity from 1.5 to 2.5TB if necessary.

    Thanks for all the info guys!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Failed Disk Netcell RAID 3 - Cant rebuild, Cant read - Help!
    By Hawkeyes in forum Help! Quick Relief From Tech Headaches
    Replies: 12
    Last Post: 28-11-2007, 10:13 AM
  2. Raid guide for beginners post edition
    By alsenior in forum PC Hardware and Components
    Replies: 2
    Last Post: 09-09-2007, 10:40 PM
  3. RAID Information
    By carbon8ed in forum Help! Quick Relief From Tech Headaches
    Replies: 3
    Last Post: 28-07-2007, 06:27 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •