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 |
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. |
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 |
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. |
Quote:
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. |