2

Okay, first of all I'm not all that au fait with RAID (but have read up on it), so here goes... I have 4 x 1.5TB Seagate SATA II drives, and hoping to enable RAID to cater for mirroring in the event that a drive (or 2) crashes. My 3 questions are:

  1. What RAID level should I be looking into - RAID 5?
  2. Will onboard RAID (onboard SATA) give me the same performance versus a RAID Controller card?
  3. Lastly (most importantly) what can I do to recover my data and the drive if any of the components contributing to the RAID array fail - like the motherboard or RAID Controller card?

My apologies if the title is a bit misleading as I have asked other questions, but i really didn't know what to call it!

Thank you (in advance)!

EDIT: Sorry, I should also mention that I intend to have keep a backup drive (external HDD) and run incremental backups to it at the end of every day.

EDIT2:: Okay, forget about question #2, as I found a really good article here explaining it.

2 Answers 2

2
  1. I'd recommend RAID 1+0 (Often referred to as just 10) if you have four drives. This provides the most protection against data loss and also gets you some additional performance. Basically, you will be mirroring a stripe. If your RAID controller doesn't support this, go with 5. You may see a performance benefit of 10 over 5 since it won't have to manage parity.
  2. Depends on the application of what you are doing. A dedicated card might show better performance. In desktop-class use. Server performance might have a better advantage. However, I've never used RAID 1+0 onboard, always with a controller.
  3. If the components fail; just replace them with an equivalent, if not duplicate controller. Controllers are easier to replace than motherboards. If a drive fails, refer to the controller's documentation about recovering the drive.

EDIT: Just to make sure, the article you referred to is software RAID vs. hardware RAID, not a dedicated controller vs. on-board.

EDIT-2: I suppose software vs. hardware has a little wiggle room in definition. You're is actually more common place when I think about it. "on-board" RAID on a desktop class motherboard is typically an emulation, vs. my definition, which is a hardware RAID controller integrated to the motherboard.

EDIT-3: OK, last edit. After reviewing the edits to your question, the mirroring functionality may not be needed if you are willing to accept up-to a day's worth of lost data. RAID 5 and 10 offer data recovery by a means of parity or duplication. If that isn't what you're after and all you want is raw performance, than RAID 0 may be a better option. In this case, if a single disk fails, you need to re-build the array from backup.

12
  • Thanks for the reply vcsjones! Any particular reason as to why you have never used RAID1+0 onboard? Also, I thought that software RAID referred to onboard, and hardware RAID to controller cards (like Adaptec or LSI)?
    – Shalan
    Nov 8, 2010 at 6:53
  • 3
    One concern about dedicated RAID controllers is that you can't freely interchange them. If your controller fails, you can't just pick any new RAID controller... IMHO, that's a major weak spot in a hardware-based RAID setup. A company would just buy a couple of spare controllers right from the start to avoid this problem, but that would be too expensive for the average consumer. For consumers, a software-based RAID solution is, well, hardware-independent but at the cost of some performance because the computer itself (CPU) must deal with the RAID stuff. Nov 8, 2010 at 7:07
  • I'd updated my answer. In addition I've always used controller cards simply because at work I am able to.
    – vcsjones
    Nov 8, 2010 at 7:07
  • Addition based on Shalan's comment: Hardware RAID means having either a dedicated controller, or a controller on the motherboard, taking care of the RAID stuff. In both cases, it's a physical thing: a controller chip in your computer. Software RAID means letting the operating system deal with it: you don't have a dedicated controller chip but instead the computer's CPU is doing the work (at the expense of slowing the rest of the operating system a fraction). Nov 8, 2010 at 7:11
  • Turned my answer into a wiki. Feel free to add additional information.
    – vcsjones
    Nov 8, 2010 at 7:14
2

First off, the article on hardware vs software is misleading (or at least out of date). Performance on modern hardware is usually similar - indeed I've had software RAID outperform a high end hardware RAID card. Also hot-swapping can be supported with software RAID.

That said:

  1. RAID 10/1+0 will give you the highest protection against disk failure and the fastest recovery time. RAID 5 will give you the most disk space and the fastest read performance (but the slowest write performance).
  2. See my comment above - it depends on your hardware. Personally I always recommend hardware RAID for boot devices since it is much easier to boot from a failed array with hardware RAID.
  3. If you're using hardware RAID then you have to replace it with a compatible card - at least from the same vendor and possibly from the same range (though if you're using RAID 1 this often doesn't matter). With software RAID there are no such issues.

Edit: I'd advise against setting up your boot array using any form of software RAID, but you'll probably be fine running a software RAID array for anything else (particularly if you're using RAID 10). Booting a degraded software RAID array can be challenging if you've not done it before. That said, if you're running RAID 1 for your boot array then most motherboard based fake-RAID is sufficient for this purpose.

2
  • Thanks Havoc, for the quick explanation of RAID 10 vs RAID 5. So would you advise against setting up a RAID array using the motherboard SATA connectors?
    – Shalan
    Nov 8, 2010 at 7:53
  • Havoc, I am intending to set up a NAS device. The SATA drives will be only used as a datastore, and the OS (possibly Ubuntu Server or CentOS) will be booted off a 40GB SSD. Haven't figured out the connections yet.
    – Shalan
    Nov 9, 2010 at 13:17

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .