Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 03-08-2008, 08:38 PM   #1
LQ Newbie
Registered: Oct 2006
Posts: 24

Rep: Reputation: 15
Installing CentOS 5.1 onto a software raid 1+0 configW

Hi All,

I'm about to attempt installing a server using mdadm to create a RAID 1+0 array of four disks. I am planning to have the server boot off a compact flash card connected to the IDE bus, but keep root and swap on the raid 1+0 partition. Does anyone know of a good guide for how to do this? I don't think it is possible to set up such a RAID set at install time. Should I use a livecd to set up the array first?


Old 03-09-2008, 02:42 PM   #2
harry edwards
Registered: Nov 2007
Location: Lincolnshire, UK
Distribution: CentOS, Fedora, and Suse
Posts: 365

Rep: Reputation: 48
Here are some good links:

Hope it helps!
Old 03-10-2008, 08:30 PM   #3
LQ Newbie
Registered: Oct 2006
Posts: 24

Original Poster
Rep: Reputation: 15
Thanks Harry - I'll look closer at those links. While not exactly my situation, I think I'll learn enough to give it a go.

I could not find a way in the setup of CentOS 5.1 to create a multi-level raid set, so I am trying to do an initial setup of RAID 0 and then I should be able to mirror each of the RAID 0 members to end up with RAID 1+0. I'm not sure if I will need to do this with a livecd. Should be interesting.

The box I bought doesn't allow booting from IDE (other than CD) so I am using a USB stick for the /boot partition. This is ugly and further justifies a desire to put a hardware RAID card in it.


Old 03-10-2008, 11:03 PM   #4
LQ Newbie
Registered: Oct 2006
Posts: 24

Original Poster
Rep: Reputation: 15
Is this a better approach?

Install CentOS onto an external USB hard drive (/dev/sde)
Boot from it, create a RAID 1+0 on the four internal drives
Clone the installation from /dev/sde to /dev/md0
Modify /etc/fstab, /boot, etc?

I'm not sure I know what will need modifying to get it to work, but it seems like it might be easier.



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
installing promise raid controller with centos watts3000 Linux - Newbie 11 04-24-2007 08:34 PM
Problem installing HighPoint RAID software with 2.6.8-2 kernel FlyingPenguin128 Debian 1 08-11-2006 08:16 PM
Software RAID 1 setup on CentOS using Grub boot loader kumarsundaram Linux - Software 1 11-30-2005 01:57 PM
Installing Debian after CentOS with software RAID arsham Linux - Distributions 0 11-07-2005 06:12 AM
Installing RH9 on software RAID 0 dynamo|x Linux - General 7 07-06-2003 10:11 PM

All times are GMT -5. The time now is 08:13 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration