LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 06-04-2009, 01:33 PM   #1
cognizance
LQ Newbie
 
Registered: Jun 2009
Posts: 3

Rep: Reputation: 0
RAID 10 or RAID 5 - boot with RAID 1 - looked everywhere


I have spent about a week reading up on it and experimenting with install options and have read up on using software raid as well as hardware raid.

This is what I want to do, have an e-mail server and NAS, so data protection is an ultimate must. I have good write-ups using Ubuntu so I will be using the latest version of Ubuntu server to accomplish this.

The main reason I am posting this thread is to find out exactly how to go about creating a software RAID that will work for what I want. I understand I have to use a RAID 1 to boot from and then somehow I have to use mdadm to create a RAID 5 array or a RAID 10 array. I will be using 3 or 4 500GB SATA hard drives.

I don't have the links in front of me but everything I have followed has not worked so far. I thought that you could boot from a RAID 1 array and then start working on making other partitions RAID 5 or RAID 10 (although they would never be bootable).

I apologize, I know this has been asked a hundred times before but I have not been able to follow a good solution. My motherboard allows for hardware raid but I have disabled it as it just causes problems during install.

Any help any of you can give me on doing this is much appreciated.
 
Old 06-04-2009, 01:56 PM   #2
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
Quote:
My motherboard allows for hardware raid but I have disabled it as it just causes problems during install.
That would probably be fake raid on a motherboard. You don't *have* to use it, but it should work. Have you looked at the FakeRaidHowto on the Ubuntu forum? (google fakeraidhowto ought to pull it up) If you follow that (or have) and it doesn't work please post the details of the errors as you encounter them, along with the mobo specs.

If you want to use RAID 1 with mdadm and grub, please post what you tried and I'm sure there will be plenty of people who'll cheerfully point out how to fix it.
 
Old 06-04-2009, 02:14 PM   #3
ramram29
Member
 
Registered: Jul 2003
Location: Miami, Florida, USA
Distribution: Debian
Posts: 848
Blog Entries: 1

Rep: Reputation: 47
I remember way back that I could not setup LVM or RAID on Ubuntu 6.06. That's why I'm still using grandpa Debian. I don't know if that's the same case now. But I heard other complain about LVM and RAID on the Ubundu Desktop setup (don't know about the server). I guess the Ubuntu logic was to use hardware RAID which most makes people feel safer in production environments.

You should be able to setup RAID at the install level. I know you could do it in Debian. I would not trust any distro that does not do that (I don't care how popular).

The hardware RAID that comes with most cheap computers today is not a full-blown solution - it still requires "Windows" drivers. So those ideas will not work with the Linux kernel. You did well in turning them off.
 
Old 06-04-2009, 02:50 PM   #4
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
Quote:
The hardware RAID that comes with most cheap computers today is not a full-blown solution - it still requires "Windows" drivers. So those ideas will not work with the Linux kernel. You did well in turning them off.
No, not at all, you can use dmraid and get perfectly good support.
 
Old 06-04-2009, 03:02 PM   #5
ramram29
Member
 
Registered: Jul 2003
Location: Miami, Florida, USA
Distribution: Debian
Posts: 848
Blog Entries: 1

Rep: Reputation: 47
Quote:
Originally Posted by mostlyharmless View Post
No, not at all, you can use dmraid and get perfectly good support.
From what I've heard dm-raid is not supported by most installers. Also you'll have problems if you swap your drives to another motherboard that does not have the same RAID chip. You have to go totally out of your way to make it work on a boot partition. So why bother, user mdadm instead. Also there is no difference between these fakeraid chips and using the software raid built into the Linux kernel - the CPU still has to do all the work either way.
 
Old 06-04-2009, 03:05 PM   #6
cognizance
LQ Newbie
 
Registered: Jun 2009
Posts: 3

Original Poster
Rep: Reputation: 0
thank you so much for the replies. I have started looking deeper into raid controllers but will do what has been suggested here before I move forward.
 
Old 06-04-2009, 03:53 PM   #7
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
cognizance: you're welcome, good luck

ramram29: The OP's using Ubuntu, which has excellent dmraid support currently. You are right in that there is no inherent advantage in speed. The pros and cons of dmraid have been discussed extensively elsewhere.
 
Old 06-05-2009, 12:41 AM   #8
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Creating raid 5 on 3 disks using cli:

mdadm -C /dev/md0 -a yes -l 5 -n 3

and see http://en.wikipedia.org/wiki/RAID
 
Old 06-11-2009, 05:25 PM   #9
cognizance
LQ Newbie
 
Registered: Jun 2009
Posts: 3

Original Poster
Rep: Reputation: 0
so, old motherboard died. new one is in the mail.

going to go ahead and do raid 1+0

Thanks again for all of your help, will update the thread with issues I run into, if any.
 
  


Reply



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
S.W RAID vs RAID accelerator (FastTrakR TX4310 ) @ RAID 1 David Zfira Linux - Newbie 6 07-29-2009 11:13 PM
LXer: Tutorial: Linux RAID Smackdown: Crush RAID 5 with RAID 10 LXer Syndicated Linux News 0 08-14-2008 11:20 PM
Adding an old software-RAID array to a software-RAID installation.. Boot problems GarethM Linux - Hardware 2 05-05-2008 03:16 PM
LXer: Linux RAID Smackdown: Crush RAID 5 with RAID 10 LXer Syndicated Linux News 0 02-26-2008 09:40 PM
Hardware raid 1 | Fedora 5 | 3Ware raid | boot gomanza Linux - Hardware 4 09-28-2006 11:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:18 AM.

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
Open Source Consulting | Domain Registration