LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-11-2005, 07:43 AM   #1
Harlin
Member
 
Registered: Dec 2004
Location: Atlanta, GA U.S.
Distribution: I play with them all :-)
Posts: 316

Rep: Reputation: 38
Raid 5 Requirements


Must a Raid5 setup have identical drives and identical drive capacities?
 
Old 10-11-2005, 08:00 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
A single RAID 5 set does require identical capacities but doesn't care about the drives. However it is possible (and not even unusual) to have multiple RAID 5 sets on an array. We do that here with our Clariion array.

By single "set" I mean something that would appear as a single disk so far as the OS is concerned but be comprised of multiple disks where the array is concerned. So as with the first array I ever worked with we had 20 drives and split that up into 4 different RAID 5 sets each comprised of 5 drives. The OS in that case saw these as if they were 4 very large luns (logical units seen as if they were 4 single disks).

If you're talking software RAID you can probably do it by partitioning the drives into equal size partitions then doing your RAID set using these equal size partitions. You'd have to be careful though. NOTE: You wouldn't want to make a RAID 5 set that had two different partitions from the same drive as it would then be possible that the data and its parity could end up on the same physical disk so that if you lost it your whole set would be corrupted.

You would NOT want to have different size devices/partitions in your RAID set because it stripes across all the drives equally. This means even if it were possible then you would never get all the space of larger drives/partitions as it would be limited to the number of stripes that could be placed on the smallest drive/partition.

Last edited by MensaWater; 10-11-2005 at 08:04 AM.
 
Old 10-11-2005, 08:14 AM   #3
Harlin
Member
 
Registered: Dec 2004
Location: Atlanta, GA U.S.
Distribution: I play with them all :-)
Posts: 316

Original Poster
Rep: Reputation: 38
Thanks JLightner, that really clears it up well! I just went ahead and searched around for a spare scsi and found one that was as close to identical as it gets (for us I suppose).

Thanks,

Harlin
 
Old 10-11-2005, 10:16 AM   #4
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHEL, AltimaLinux, Rocky
Posts: 1,151

Rep: Reputation: 46
To follow up on jlightner’s comments, a linux software raid 5 set can use different sizes of drives, but you are limited to only using the smallest drive’s capacity (or the smallest partition available for the Raid) across the set.

But you will get the best performance if the drives’ performance and capacities are matched. Even having one lower performing drive in the array can cause a marked drop in overall performance.
 
Old 10-11-2005, 03:04 PM   #5
Harlin
Member
 
Registered: Dec 2004
Location: Atlanta, GA U.S.
Distribution: I play with them all :-)
Posts: 316

Original Poster
Rep: Reputation: 38
I think in my case I was going to need to go with exact capacities because (as I failed to mention earlier), this was using a hardware based array as opposed to using the OS to create them.
 
  


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
Perc3Di SCSI RAID + Adaptec 2810SA RAID = Fatal Grub Error? LinuxOnTheEdge Linux - General 2 03-19-2005 02:35 PM
Software Raid: system requirements hamish Linux - Enterprise 5 01-31-2005 01:47 PM
does linux support the sata raid and ide raid in k7n2 delta ilsr? spyghost Linux - Hardware 10 04-16-2004 05:27 AM
moving system from ide software raid to new box with scsi raid ftumsh Linux - General 0 10-28-2003 09:34 AM
Requirements Please figus Linux - General 4 08-31-2002 11:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:54 PM.

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