Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-26-2018, 10:10 PM   #1
Registered: Jan 2008
Posts: 111

Rep: Reputation: 0
CentOS 6 x86_64 using Software RAID-10

How do I setup software RAID-10 on CentOS 6 64-bit with 4 - 1 TB and 2 - 2 TB drives?
Do I make 2 - RAID-0 devices consisting of 2 - 1 TB and 1 - 2 TB drives then make RAID-1 device using the just defined RAID-0 devices? Will this support LVM?
And last but not least, ca I do this during initial installation?
I want to do this for the experience and knowledge.
I currently have several RAID-1 partitions using LVM (except /boot) on this machine.
Has anyone seen a tutorial on this?
Old 11-27-2018, 11:49 AM   #2
Registered: Aug 2018
Location: Atlanta, GA - USA
Distribution: CentOS/RHEL, openSuSE/SLES, Ubuntu
Posts: 928

Rep: Reputation: 338Reputation: 338Reputation: 338Reputation: 338
Some of this depends on what data you want to store on which drives?

I am not sure if you can setup RAID-10 during install:

For the RAID itself; you need to mirror (RAID-1) first on two drives then stripe (RAID-0), so that can handle 1-drive failure per set.

Personally, I would install the OS first, then setup software RAID for data partitions, but that's just my preference.
1 members found this post helpful.
Old 11-27-2018, 08:58 PM   #3
Registered: Jan 2008
Posts: 111

Original Poster
Rep: Reputation: 0
Thanks Much!
I'll follow these instructions and attempt to document with a follow-up post showing my success or failure.
For now I'll consider this solved
Old 12-08-2018, 10:53 PM   #4
Registered: Jan 2008
Posts: 111

Original Poster
Rep: Reputation: 0
Based on the instructions provided above the installation went well and all of the disks mentioned is a part of the RAID-10 environment with the exception of the /dev/md0 /boot area which is RAID-1.

There is one thing which caused me to go through the installation a second time and that was where to install the boot loader. Initially I installed it on /dev/md0 but it wouldn't boot so I reinstalled and had the boot loader placed on /dev/sda. So if I loose /dev/sda I can't boot.
Old 12-09-2018, 01:19 AM   #5
LQ Addict
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 1994Reputation: 1994Reputation: 1994Reputation: 1994Reputation: 1994Reputation: 1994Reputation: 1994Reputation: 1994Reputation: 1994Reputation: 1994Reputation: 1994
Originally Posted by etpoole60 View Post
So if I loose /dev/sda I can't boot.
Your RAID-10 setup provides high availability: It enables your system to continue running in the event of a disk failure. When you see /dev/sda failing, just re-create the boot loader configuration after replacing it. When /dev/sda fails and the system is down, use your favourite rescue mechanism e.g. a live DVD-ROM.

In short, I guess losing the boot loader is really a minor problem.

Last edited by berndbausch; 12-09-2018 at 01:20 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
CentOS semi-manual p2V VMWare ESXi- [Software Raid to Non-Software Raid], boots to kernel panic Train Linux - Server 1 06-22-2014 09:46 AM
CentOS 5.3 x86_64 + Software RAID (mdadm) - Safe to yum update ? n7Epsilon Linux - Server 1 10-09-2010 05:01 PM
ipm timed out error on Red Hat 2.6.9-67.0.22.ELsmp #1 SMP x86_64 x86_64 x86_64 GNU/L bellnarm Linux - Newbie 0 07-07-2009 05:36 PM
LXer: Xen 3.2 on CentOS 5.2 x86_64 / RHEL 5.2 x86_64 LXer Syndicated Linux News 0 07-12-2008 06:51 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:21 AM.

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