LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   CentOS 6 x86_64 using Software RAID-10 (https://www.linuxquestions.org/questions/linux-software-2/centos-6-x86_64-using-software-raid-10-a-4175643145/)

etpoole60 11-26-2018 09:10 PM

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

dc.901 11-27-2018 10:49 AM

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.

etpoole60 11-27-2018 07:58 PM

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

etpoole60 12-08-2018 09:53 PM

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.

berndbausch 12-09-2018 12:19 AM

Quote:

Originally Posted by etpoole60 (Post 5934970)
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.


All times are GMT -5. The time now is 07:22 PM.