Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ICH10R as Raid1 controller
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
mno
Guru
Guru


Joined: 29 Dec 2003
Posts: 454
Location: Toronto, Canada

PostPosted: Mon Apr 06, 2009 5:27 pm    Post subject: ICH10R as Raid1 controller Reply with quote

Hi all,

Does anyone have any good info as to whether the ICH10R is a good/reliable raid controller, for Raid 1? I've been using 3ware's products before and am very happy with them, especially with their CLI, but getting them is an extra 300-500 expense depending on how many drives you have. So I'm considering going just the ICH10R route as that comes as part of the chipset. Further, is ICH10R support good in the 2.6.2x kernel?

Any comments/suggestions?

Thank you in advance,
Max
_________________
"Hello and goodbye. As always." | You can't use   here?? | Unanswered
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54244
Location: 56N 3W

PostPosted: Mon Apr 06, 2009 6:57 pm    Post subject: Reply with quote

mno,

The ICH10R is a fakeraid controller. Its not hardware raid, which is why its on so many motherboards.
The only reason to use fakeraid is to allow Windows and Linux to both access the raid set.
Kernel support for fakeraid is indirect. You need the third party dmrad module.

Kernel software raid is faster and more portable but not compatible with Windows
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
mno
Guru
Guru


Joined: 29 Dec 2003
Posts: 454
Location: Toronto, Canada

PostPosted: Mon Apr 06, 2009 6:58 pm    Post subject: Reply with quote

Thanks! That was what I was thinking, but wanted to check. 3ware it is.
_________________
"Hello and goodbye. As always." | You can't use   here?? | Unanswered
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54244
Location: 56N 3W

PostPosted: Mon Apr 06, 2009 9:38 pm    Post subject: Reply with quote

mno,

Do the sums before you invest in a plug in controller.
What raid level do you want ?
What sort of bus will it plug into?
What CPU load will the system have besides raid?

A plug in raid card adds more single points of failure and may actually be slower than kernel raid.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
mno
Guru
Guru


Joined: 29 Dec 2003
Posts: 454
Location: Toronto, Canada

PostPosted: Mon Apr 06, 2009 10:01 pm    Post subject: Reply with quote

This is for a dual E5520 server running on SuperMicro 6016T-NTRF barebones system (X8DTU-F) with 3x2GB RAM per processor and with probably 4 500GB RE3 drives (with two distinct RAID1 arrays, each with 2 drives). x16 PCI-E 2.0/QPI at 5.8Ghz.

I am more concerned not with performance of drives, as this will mostly be a db/app server, as the reliability. I've never had any issues with 3ware cards, and I am very wary of kernel raid due to history. What do you think?
_________________
"Hello and goodbye. As always." | You can't use   here?? | Unanswered
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54244
Location: 56N 3W

PostPosted: Tue Apr 07, 2009 8:02 pm    Post subject: Reply with quote

mno,

I have been using kernel raid0 and raid1 for the last few years with no problems.
The more bits you add, the worse your reliability.

There is no CPU overhead in raid1, the kernel only has to set up the DMA controller to send the same data to all the members of the raid set, therefore there is no advantage in offloading this trivial amount of processing to a raid card.
Raid5 (one redundant drive) needs more CPU time but it looks like you will have plenty of that.

For some bus types (plain PCI), plug in cards are a bottleneck you should be able to get the same performance out of a PCI-E card as from the on board interfaces.

I would keep my money in my pocket and use kernel raid, or maybe invest the money in a real UPS, (if you don't already have one) so you always get clean shutdowns in the face of power failure.

--- Edit ---
Given that kernel raid works with partitions, not whole drives, I might even be tempted to reorganise your four drives into several raid5 sets, as you would still get one drive redundancy and have more storage space.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
mno
Guru
Guru


Joined: 29 Dec 2003
Posts: 454
Location: Toronto, Canada

PostPosted: Tue Apr 07, 2009 8:11 pm    Post subject: Reply with quote

Thanks for your suggestions, NeddySeagoon.

This server would be co-located at a great facility, so I'm not worried about power issues. I currently have several servers there, never had issues with that.

Hm, I will need to consider then not going the 3ware route. It is an extra $300-500 expense that I don't necessarily need for this kind of server already :)

Thanks,
Max
_________________
"Hello and goodbye. As always." | You can't use   here?? | Unanswered
Back to top
View user's profile Send private message
mno
Guru
Guru


Joined: 29 Dec 2003
Posts: 454
Location: Toronto, Canada

PostPosted: Tue Apr 07, 2009 8:14 pm    Post subject: Reply with quote

NeddySeagoon wrote:
--- Edit ---
Given that kernel raid works with partitions, not whole drives, I might even be tempted to reorganise your four drives into several raid5 sets, as you would still get one drive redundancy and have more storage space.


Now that could be an interesting idea. I am just a bit worried that's getting into something that's a bit too complex than I want for a server?
_________________
"Hello and goodbye. As always." | You can't use   here?? | Unanswered
Back to top
View user's profile Send private message
mno
Guru
Guru


Joined: 29 Dec 2003
Posts: 454
Location: Toronto, Canada

PostPosted: Tue Apr 07, 2009 8:26 pm    Post subject: Reply with quote

A bit concerned about this bug: 230950

EDIT:
Actually, as I gather, this bug is more due to using dmraid over mdraid. From a response on the LKML, it seems if I run the controller in AHCI mode, I can use mdraid and not have these issues?
_________________
"Hello and goodbye. As always." | You can't use   here?? | Unanswered
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54244
Location: 56N 3W

PostPosted: Tue Apr 07, 2009 8:33 pm    Post subject: Reply with quote

mno,

Kernel raid is something else to learn but you only learn it once.

You need its management tool, which is called mdadm and one or two extra kernel modules built into the kernel.

If you were to go the kernel raid5 route, I recommend you do a single drive install, copy it to the raid, while the raid is in degraded mode (one drive missing) then add the drive hosting the single drive install to the raid to bring it up to full strength.

This way you get to practice recovering from a drive failure before you have your own data on the server.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
mno
Guru
Guru


Joined: 29 Dec 2003
Posts: 454
Location: Toronto, Canada

PostPosted: Tue Apr 07, 2009 8:56 pm    Post subject: Reply with quote

Thanks again, NeddySeagoon, for the hints. It's actually a very good idea, I like installing onto one drive and then rebuilding the rest, sounds like a great plan. By chance any good docs you could point me to getting up to speed on mdadm?
_________________
"Hello and goodbye. As always." | You can't use   here?? | Unanswered
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54244
Location: 56N 3W

PostPosted: Tue Apr 07, 2009 9:09 pm    Post subject: Reply with quote

mno,

I'm still a raidtools user but that was removed a long time ago and replaced with mdadm.
I need to refer you to google and the mdadm man page.

Be on your guard for the difference between the two commands that make a new raid set and assemble an existing one.
Making a new raid set destroys all the data on the raid, assembling it makes it ready to be mounted.

This Guide gives an overview of installing onto raid with Logical Volume Manager (LVM) on top of the raid. Its not a complete guide by any means. Also it does not cover the degraded raid step.

One thing it did remind me of is that /boot must be on raid1 or an unraided partition. Thats because grub ignores raid altogether.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
mno
Guru
Guru


Joined: 29 Dec 2003
Posts: 454
Location: Toronto, Canada

PostPosted: Tue Apr 07, 2009 10:37 pm    Post subject: Reply with quote

NeddySeagoon wrote:
One thing it did remind me of is that /boot must be on raid1 or an unraided partition. Thats because grub ignores raid altogether.


That's one advantage of having a dedicated hardware raid card :)

Thanks for the tips and help overall!
_________________
"Hello and goodbye. As always." | You can't use   here?? | Unanswered
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum