LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 02-25-2009, 06:27 PM   #1
Alkisx
Member
 
Registered: Apr 2006
Location: Greece
Distribution: Slackware
Posts: 74

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


Any help???
 
Old 02-27-2009, 03:10 PM   #2
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Slackware/Knoppix
Posts: 1,789
Blog Entries: 14

Rep: Reputation: 279Reputation: 279Reputation: 279
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 03:19 PM.
 
Old 02-28-2009, 08:27 AM   #3
Alkisx
Member
 
Registered: Apr 2006
Location: Greece
Distribution: Slackware
Posts: 74

Original Poster
Rep: Reputation: 16
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 View Post
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...
 
Old 03-01-2009, 05:41 PM   #4
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Slackware/Knoppix
Posts: 1,789
Blog Entries: 14

Rep: Reputation: 279Reputation: 279Reputation: 279
Well, you can look at this:
https://www.linuxquestions.org/quest...k-12.0-586440/
Or this
http://www.linuxquestions.org/questi...d-root-691282/
Or this
http://www.linuxquestions.org/questi...Slackware+raid

The Slackware iso has Raid instructions as well, I think README_RAID.TXT or something like that
 
  


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
Why can't I mount this md0 raid? (mdadm and software raid) cruiserparts Linux - Software 35 01-05-2013 04:35 PM
software RAID10 - does the disk order in mdadm matter ? banan.olek Linux - Server 4 09-06-2011 01:57 PM
RAID10 Recovery Issue - mdadm segfault marc2112 Linux - Server 2 02-15-2009 09:25 AM
RAID mdadm - Sending E-Mails on RAID Failure? rootking Linux - General 1 12-25-2007 04:59 AM
How to install Fedora 7 on soft raid on VT6420 SATA RAID bozhulich Fedora 3 08-14-2007 02:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 07:48 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration