Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have LSI MegaRAID SAS 9240i RAID controller. But I can't understand how do I create RAID 10 correctly. I have 8 HDDs. I can make either 4 drive groups with 2 hdds each and then add them all to span or create 2 drive groups with 4 hdds each and add them all to span.

What I don't understand, is which option creates fastest setup (RAID1 over two 4-disk RAID0) and which creates less fast, but more reliable (RAID1 over four 2-disk RAID0).

share|improve this question

migrated from Jun 16 '12 at 19:19

This question came from our site for professional and enthusiast programmers.

You want to create four groups of two mirrored drives (RAID 1), then stripe the four groups (RAID 0). This is RAID 10, sometimes called RAID 1+0. Because dropping a drive out of a mirrored array is not fatal, you could, in theory, lose one drive in each mirrored pair and still be safe.

In your other setup, you would create a four-drive stripe (RAID 0), then mirror those two stripes (RAID 1). This is RAID 01, sometimes called RAID 0+1. You'd basically find yourself with a two-"drive" RAID 1. A failure of one drive would effectively make three others inoperable. The chances of two simultaneous failures being on opposing sides of the mirror are dramatically increased.

Performance characteristics of each are usually around the same, but 1+0 is considerably less risky. Remember, regardless of configuration, you're still writing and reading data from the same effective number of striped segments.

If you aren't horribly write-heavy, don't discount RAID 6 or even 60 as an option, both of which are available in the 9240. With eight drives, RAID 6 will give you more space while allowing two drive failures. RAID 60 will allow up to four drive failures, while giving you the same capacity as RAID 10, while also not caring about which specific drives have failed.

Also keep in mind that some RAID cards refuse to do writeback caching unless they have a BBU. The writeback cache can be a huge performance boost. I'm not sure if the 9240 is one of those cards. Newer generations of the 9260 have this restriction, for example.

Also, I urge you to review the 9240 manual. Section 2.6 has a great overview of the available RAID levels and their benefits/drawbacks.

share|improve this answer
I have a BBU unit, so thanks a lot for your comments! – Vladislav Rastrusny Jun 17 '12 at 19:35

It is important to note that RAID 10 is significantly less risky than RAID 01. The difference is not at all trivial.

share|improve this answer

You must log in to answer this question.

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