LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 11-26-2018, 09:10 PM   #1
etpoole60
Member
 
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?
TIA
Gene
 
Old 11-27-2018, 10:49 AM   #2
dc.901
Senior Member
 
Registered: Aug 2018
Location: Atlanta, GA - USA
Distribution: CentOS/RHEL, openSuSE/SLES, Ubuntu
Posts: 1,005

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
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:
https://www.linuxtopia.org/online_bo..._RAID-ppc.html
https://www.ipserverone.info/operati...software-raid/

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, 07:58 PM   #3
etpoole60
Member
 
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
TIA
Gene
 
Old 12-08-2018, 09:53 PM   #4
etpoole60
Member
 
Registered: Jan 2008
Posts: 111

Original Poster
Rep: Reputation: 0
Follow-up:
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, 12:19 AM   #5
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
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 12:20 AM.
 
  


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
CentOS semi-manual p2V VMWare ESXi- [Software Raid to Non-Software Raid], boots to kernel panic Train Linux - Server 1 06-22-2014 08:46 AM
CentOS 5.3 x86_64 + Software RAID (mdadm) - Safe to yum update ? n7Epsilon Linux - Server 1 10-09-2010 04: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 04: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 05:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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