LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 08-22-2012, 02:10 AM   #1
rohitchauhan
Member
 
Registered: Nov 2010
Distribution: RedHat
Posts: 85

Rep: Reputation: 1
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.

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

FYI:
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.
Thanks
 
Old 08-22-2012, 05:51 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
You may find these useful
http://www.linuxtopia.org/online_boo...oning-x86.html
http://www.linuxtopia.org/online_boo..._RAID-x86.html
http://linux.die.net/man/8/mdadm

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.


HTH
 
Old 08-22-2012, 06:47 AM   #3
sKaar
Member
 
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, 07:42 AM   #4
whizje
Member
 
Registered: Sep 2008
Location: The Netherlands
Distribution: Slackware64 current
Posts: 592

Rep: Reputation: 140Reputation: 140
/boot can be on raid 1 and you first create the raid arrays and then install the OS.
 
Old 08-22-2012, 08:24 AM   #5
r0b0
Member
 
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.
 
  


Reply


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 07:33 AM
problems adding disks/ raid configuration - intel embedded hardware raid birdmanpdx Linux - Hardware 0 09-23-2010 03:17 PM
Looking for good hard disks to use in a Raid 1 array gregw040 Linux - Hardware 2 01-14-2010 04:26 AM
Trouble setting up hard disks with software raid AsgrimTheMighty Linux - Hardware 5 09-30-2007 04:18 AM
Hard Disks & RAID-1 DeathsFriend Fedora 2 03-25-2004 08:26 AM


All times are GMT -5. The time now is 04:00 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration