Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-22-2012, 01:10 AM   #1
Registered: Nov 2010
Distribution: RedHat
Posts: 97

Rep: Reputation: Disabled
Exclamation RAID-1 configuration on 4 Hard disks

Hi guys,
I need to configure RAID-1 on a system having 4 Hard disks each of 300GB.

There are 4 Hard disks and i have to configure RAID1 for HD1&HD3 and HD2&HD4.

Now, can you please explain me how to do the whole setup/configuration including RHEL6 OS installation on the system In This Scenario.

Lets say there are 4 HDs i.e. sda1, sda2, sda3, sda4.
Now, on which HD, i will install the OS ?
Where should i install the /boot ? on sda1 ?
As i know /boot cant be on RAID but / and SWAP can be on RAID.

If i install the OS on HD1(sda1), then how i am gonna create the RAID of HD1&HD3 and HD2&HD4 coz in this case OS installation itself will take some space to install.

I know how to configure RAID 1. I have done it before. I am only having problem in understanding this particular scenario.

Please tell me if you guys need some more information.
Old 08-22-2012, 04:51 AM   #2
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,378

Rep: Reputation: 2755Reputation: 2755Reputation: 2755Reputation: 2755Reputation: 2755Reputation: 2755Reputation: 2755Reputation: 2755Reputation: 2755Reputation: 2755Reputation: 2755
You may find these useful

Note that you are confusing disks with partitions eg if you have 4 disks, they will likely show as sda, sdb, sdc & sdd.
The first 3 partitions on sda would be sda1, sda2, sda3.

Old 08-22-2012, 05:47 AM   #3
Registered: Jun 2006
Location: dartmouth, nova scotia
Distribution: slackware 12.1
Posts: 74

Rep: Reputation: 2
each pair of drives need to be configured as separate raid volumes, you'll have two(2) separate arrays. so, you'll need to set up arrays twice...

one thing you might find useful is to set them up, instead of using /dev names, use uuid, then they can be plugged in totally different drive controller connectors, yet still work.
Old 08-22-2012, 06:42 AM   #4
Registered: Sep 2008
Location: The Netherlands
Distribution: Slackware64 current
Posts: 594

Rep: Reputation: 141Reputation: 141
/boot can be on raid 1 and you first create the raid arrays and then install the OS.
Old 08-22-2012, 07:24 AM   #5
Registered: Aug 2004
Location: Europe
Posts: 608

Rep: Reputation: 50
With grub2 (now default in any recent version of all distributions), you can in fact have /boot on RAID. And also, I would suggest to look into LVM. You can set up 2 RAID1 arrays as Physical Volumes, merge them together into one Volume Group and create Logical Volumes for root, home etc. In most cases, you can boot from a Logical Volume on RAID1 just fine.


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
[SOLVED] RAID 5 with 4 hard disks... array started with only 3 out of 4 disks kikinovak Slackware 9 08-11-2012 06:33 AM
problems adding disks/ raid configuration - intel embedded hardware raid birdmanpdx Linux - Hardware 0 09-23-2010 02:17 PM
Looking for good hard disks to use in a Raid 1 array gregw040 Linux - Hardware 2 01-14-2010 03:26 AM
Trouble setting up hard disks with software raid AsgrimTheMighty Linux - Hardware 5 09-30-2007 03:18 AM
Hard Disks & RAID-1 DeathsFriend Fedora 2 03-25-2004 07:26 AM > Forums > Linux Forums > Linux - Newbie

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