LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-25-2017, 05:43 AM   #1
aqv
LQ Newbie
 
Registered: Oct 2012
Posts: 3

Rep: Reputation: Disabled
Optimal RAID configuration with 8 disks


Hello,
I have a HP ProLiant with RHEL6.
I would like to ask for advice to configure its 8 disks SmartArray cabin in an optimal way.
Currently the 8 disks are grouped in 4 RAID1 arrays. I would like to change to RAID 5 in order to increase the available storage space.
I'm doubting between 2 different options:
a) Keep the current RAID1 containing the Operating System, and build a RAID5 array with the other 6.
b) Build 2 RAID5 arrays with 4 disks each.
I don't know if there is a recomended maximum number of disks for building a RAID5 array. Perhaps 6 is too many?
Any comment will be wellcome.
Thank you.
Asun
 
Old 07-25-2017, 05:57 AM   #2
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,475

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
In the past I've used a mirrored pair for the O/S and the rest of the disks in a RAID5 mounted accordingly. This was back when we had smaller faster disks for the O/S and slower larger capacity disks for storage.

These days for a GENERAL system I'd be tempted to go RAID6 with the lot and use LVM to provide partitioning. Obviously if your controller doesn't support RAID6 or you're not worried about mitigating against double disk failure then use RAID5.

You will however get a different opinion from just about everyone.

Oh, and there's no (practical) maximum number in a RAID5, in the past I've had HP DL servers with 16 disks, 2 in a RAID1 for the O/S and 12 in a RAID5 with 2 spares for the main data storage.
 
2 members found this post helpful.
Old 07-25-2017, 06:18 AM   #3
aqv
LQ Newbie
 
Registered: Oct 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thank you very much, TenTenths.
 
Old 07-25-2017, 08:59 AM   #4
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
I concur with TenTenths:

- RAID6 for the lot, as long as you don't mind the slight performance hit

- RAID5 otherwise

- LVM on top of RAID for ease of partitioning.

... obviously, if your system is UEFI, ESP requires special treatment, so plan accordingly.

Cheers.
 
1 members found this post helpful.
Old 07-25-2017, 09:14 AM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,128

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Quote:
Originally Posted by TenTenths View Post
You will however get a different opinion from just about everyone.

Personally I would go RAID10 - going through rebuild after a (double ?) disk failure might help explain why.

Disk is cheap - (people) time is expensive.
 
1 members found this post helpful.
Old 07-25-2017, 01:22 PM   #6
tofino_surfer
Member
 
Registered: Aug 2007
Posts: 483

Rep: Reputation: 153Reputation: 153
The reason you are getting many differing opinions on an optimal RAID array is that there are many different things you can optimize.

Optimize storage capacity - RAID 5

Optimize protection against double disk failure - RAID 6

Optimize performance - RAID 10

You need to decide what you are optimizing.

Quote:
... obviously, if your system is UEFI, ESP requires special treatment, so plan accordingly.
With RAID 5/6 even if you have legacy BIOS your /boot partition requires special treatment. Linux can easily boot from a simple RAID 1 mirror but otherwise planning is needed. Either the /boot partition needs to be outside of the RAID 5/6 or the grub2 core.img second stage needs to have extra modules compiled (mdraid, lvm) into it. This second stage would also need to be stored outside of the RAID 5/6 such as in a 1 MiB BIOS Boot Partition for BIOS/GPT installations. A small part of each disk needs to be kept outside of the RAID array.
 
1 members found this post helpful.
Old 07-25-2017, 02:52 PM   #7
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,340

Rep: Reputation: Disabled
Quote:
Originally Posted by tofino_surfer View Post
With RAID 5/6 even if you have legacy BIOS your /boot partition requires special treatment.
That's only true for software RAID.

The OP has a ProLiant server with a SmartArray hardware RAID controller. The OS only sees the logical drives, and thus can boot from any kind of RAID set.
 
1 members found this post helpful.
Old 07-27-2017, 04:08 AM   #8
aqv
LQ Newbie
 
Registered: Oct 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thank you all of you for your comments.
All are useful.
I need storage capacity, so I think I'll use (hardware, yes) RAID5 and take the (small, I hope) risk of having a double disk failure.
Of course, I have B-A-C-K-U-P.
Greetings
 
  


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
RAID-1 configuration on 4 Hard disks rohitchauhan Linux - Newbie 4 08-22-2012 07:24 AM
[SOLVED] RAID 5 with 4 hard disks... array started with only 3 out of 4 disks kikinovak Slackware 9 08-11-2012 06:33 AM
problems adding disks/ raid configuration - intel embedded hardware raid birdmanpdx Linux - Hardware 0 09-23-2010 02:17 PM
Software Raid-0 Chunk-Size - what is optimal? Swamper Linux - Software 0 09-13-2004 10:29 AM
Optimal HD configuration on IDE bussell Linux - Hardware 1 08-06-2002 10:25 AM

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

All times are GMT -5. The time now is 11:29 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