LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-03-2010, 01:04 AM   #1
TL_CLD
Member
 
Registered: Sep 2006
Posts: 366

Rep: Reputation: 45
A question about software RAID and controllers


Hey all,

I've got a server with 3 software RAID volumes:

md1: sda1 + sdb1
md2: sdc1 + sdd1 + sde1
md3: sdf1 + sdg1 + sdh1

All the disks are connected to a LSI 3081E controller. There's no more available connectors on this controller.

Because I need some more disks, I've bought another 3081E controller, but instead of just creating md4 from disks connected to this new controller, I thought I'd ask here for opinions.

Would I benefit in any way from spreading all the disks across the two controllers?

It could look something like this ((a) or (b) signifies which controller the disk is connected to):

md1: sda1(a) + sdi1(b)
md2: sdb1(a) + sdc1(a) + sdj1(b)
md3: sdd1(a) + sde1(a) + sdk1(b)
md4: sdf1(a) + sdg1(a) + sdl1(b)

The above would provide a bit of redundancy. If one controller dies, the RAID volumes can keep running on disks connected to the other controller.

But what would it do to performance? Better? Worse? Same?

My first inclination was to simply connect the three new disks to the new controller and then add those disks to the new md4 volume. I suspect that will give me the best performance. But if the performance loss from spreading the disks is negligible, then perhaps I'd rather have the added bonus of some redundancy.

Any and all opinions/experiences are more than welcome.
 
Old 09-03-2010, 01:17 AM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
Performance across controllers would be better, but you may or may not get redundancy depending on what raid levels you're using and where the disks are located, for example:

Code:
md2: sdb1(a) + sdc1(a) + sdj1(b)
If this is RAID 5 and you lose controller "a", then the array will be broken (only supports the loss of 1 disk not 2)
If this is RAID 5 and you lose controller "b", then the array will keep running (only 1 disk lost)

cheers
 
Old 09-03-2010, 01:23 AM   #3
TL_CLD
Member
 
Registered: Sep 2006
Posts: 366

Original Poster
Rep: Reputation: 45
Yes, I completely forgot to mention that everything is setup as RAID1. Simple mirroring.
 
Old 09-03-2010, 01:53 AM   #4
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
Then how will you be adding the extra disks ? .. only 2 disks in RAID 1
 
Old 09-03-2010, 02:13 AM   #5
TL_CLD
Member
 
Registered: Sep 2006
Posts: 366

Original Poster
Rep: Reputation: 45
You can mirror lots of disks in RAID1. I do it all the time, for data where uptime is important. The more disks, the less the chance of them all crapping out at the same time.
 
Old 09-03-2010, 07:57 AM   #6
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
I think the other poster meant that you can have only 2 active disks in any given RAID 1 md device at once.
 
Old 09-03-2010, 08:29 AM   #7
Mark Pettit
Member
 
Registered: Dec 2008
Location: Cape Town, South Africa
Distribution: Slackware 15.0
Posts: 619

Rep: Reputation: 299Reputation: 299Reputation: 299
That might be (or not ?) a limitation of mdadm. But it's certainly not a limitation of mirroring. I have seen a production system here at work using a triple mirror. It's an old cobol system writing to 'flat-files'. At lunch time the application is stopped, the 3rd mirror is broken, the application restarts on the 2-way mirror and a full backup is then made of the offline disk. Once the backup is complete, the 3rd disk is re-silvered. The "downtime" of the cobol application is then only a few seconds. The backup itself takes an hours or so and the resilvering is pretty quick - depends on how busy the system was.
 
Old 09-03-2010, 09:19 AM   #8
TL_CLD
Member
 
Registered: Sep 2006
Posts: 366

Original Poster
Rep: Reputation: 45
Quote:
Originally Posted by Richard Cranium View Post
I think the other poster meant that you can have only 2 active disks in any given RAID 1 md device at once.
You can most certainly have more than two active disks in a RAID1 setup. I know, because I've done it many times.

Mirroring is not limited to 2 active disks.
 
Old 09-03-2010, 03:06 PM   #9
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
Back to the original question, since all your RAID are RAID 1, clearly redundancy is the priority, so if you can (possibly) insulate yourself from controller failure by spreading the disks over two controllers, that would be consistent with that goal.

I doubt the performance difference would be that great anyway, but have no benchmarks to back me up.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
HP / Compaq 5i Raid Controllers Gingergit Slackware - Installation 2 02-11-2009 11:05 PM
RAID Controllers and Linux endfx Linux - Server 4 05-24-2007 07:35 PM
SCSI Raid Controllers tbayboy SUSE / openSUSE 1 09-03-2005 10:39 AM
Linux and cheap raid controllers AndrewMSConvert Linux - Hardware 2 12-01-2004 07:42 PM
RAID Controllers gcombe74 Linux - Hardware 2 01-14-2003 01:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration