Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.