RAID 10 or RAID 5 - boot with RAID 1 - looked everywhere
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.
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.
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.
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.