LSI MegaRAID SAS 9240i - how to construct RAID 10 correctly?

1

1

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).

Vladislav Rastrusny

Posted 2012-06-16T17:43:35.183

Reputation: 419

Answers

4

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.

Charles

Posted 2012-06-16T17:43:35.183

Reputation: 450

I have a BBU unit, so thanks a lot for your comments! – Vladislav Rastrusny – 2012-06-17T19:35:59.173

2

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

Scott Alan Miller

Posted 2012-06-16T17:43:35.183

Reputation: 21

There is no difference for 1st failed drive.. But risk of 2nd failure is different. – Maxim – 2017-02-26T07:54:16.053