soft raid10 with mdadm with everything ONLY on raid
UbuntuThis forum is for the discussion of Ubuntu Linux.
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.
soft raid10 with mdadm with everything ONLY on raid
I've seen many tutorials on how to create raid10 with mdadm. But no one with how to put everything (/boot and swap) on the raid created and partition it accordingly.
It seems like I am in an infinite loop trying to do that.
boot with the live cd, install mdadm, created the array of five disks, all great. I had an array on /dev/md0.
used cfdisk,fdisk or parted to partition it... great!
Every of the above utilities created the partitions md0p1, md0p2 and so on. With one exception. those device are nowhere on dev! Only visible on the partition programs. The only md device on /dev is the raid device md0 but not the partitions I created.
partprobe does nothing, as it says I have to reboot to reread the partition information. But how the hell I am supposed to do that if I have not even install anything? With the next reboot, of course once again from the live cd, I have to start all over (withoud recreated the partitions), nothing...
To boot on raid, your bootloader will have to be able to find the kernel (and probably an initrd); usually you will need some sort of firmware support.
Try approaching it in steps: raid 10 is ambitious, see if you can get raid 0 or 1 working first, you can put them together afterward. There are Slack specific instructions/threads for that...
Last edited by mostlyharmless; 02-27-2009 at 02:19 PM.
I will give a try on your suggestion, you are the only one who gave me something to go a bit further on that. Although I am thinking of ordering a real raid card, I will try what you said first, create raid 1 and making it 10 later.
Can you provide me some links on the instructions you said (one or two would be enough), I couldn't find something, or can't see it, don't know...
Quote:
Originally Posted by mostlyharmless
To boot on raid, your bootloader will have to be able to find the kernel (and probably an initrd); usually you will need some sort of firmware support.
Try approaching it in steps: raid 10 is ambitious, see if you can get raid 0 or 1 working first, you can put them together afterward. There are Slack specific instructions/threads for that...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.