LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General > LinuxQuestions.org Member Success Stories
User Name
Password
LinuxQuestions.org Member Success Stories Just spent four hours configuring your favorite program? Just figured out a Linux problem that has been stumping you for months?
Post your Linux Success Stories here.

Notices

Reply
 
LinkBack Search this Thread
Old 01-02-2007, 11:51 PM   #1
nemestrinus
LQ Newbie
 
Registered: Dec 2006
Location: california
Distribution: slackware
Posts: 19

Rep: Reputation: 0
discovered easy "cheat" to get slackware installed with raid


Here's my story...

I've always liked Slackware, but getting software raid arrays configured seemed confusing to me, installing the system first on a single hard drive, and then setting up arrays. I have 5 disks (sda through sde). I wanted to set up 2 disks with raid1 containing swapspace and root filesystem, and the other 3 as raid 5 containing /home. I decided to see if it would be easier to install with a different distro.

OpenSuse looked like it would be easy, but after setting everything up with YaSt and installing the whole thing, grub failed to find /boot. I gave up easily because YaSt is just too "friendly" for me.

So I discovered someone's easy-to-follow instructions to set up raid on Gentoo.
(see http://www.gentoo.org/doc/en/gentoo-...ickinstall.xml)

I started the gentoo installation process according to those instructions. The following steps were the important ones needed in order to create the arrays:

I inserted the "minimal" gentoo install disk, using the gentoo-nofb kernel:

Using cfdisk I created identical "mirrored" partitions (2 each) on /dev/sda and /dev/sdb for swap and /. Then I single-partitioned /dev/sdc, /dev/sdd and /dev/sde, designating all 7 partitions as "Raid Autodetect."

mknod /dev/md0 b 9 0
mknod /dev/md1 b 9 1
mknod /dev/md2 b 9 2

...and then,

mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/sda1 /dev/sdb1
mdadm --create /dev/md1 --level=1 --raid-devices=2 /dev/sda2 /dev/sdb2
mdadm --create /dev/md2 --level=5 --raid-devices=3 /dev/sdc1 /dev/sdd1 /dev/sde1

Sometime after I got past this point I ran into some snags with the rest of the gentoo install. I could have finished it eventually but I was a little frustrated and took a break.

By some stroke of fortune I then put the Slackware 11.0 install disk in and rebooted. Guess what... Slackware setup recognized the arrays I had configured and very handily installed swap on md1, / on md0, and /home on md2. Auto-setup lilo on MBR and everything worked great. ...so easy!!!

Last edited by nemestrinus; 01-04-2007 at 11:11 AM.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
System Information Made Easy : Contains of "/proc" folder in details thandermax Linux - News 4 01-17-2006 05:16 PM
Why don't want load Linux on " IT 8212F "RAID" card? master_boy Linux - Hardware 8 12-26-2005 09:56 AM
Dell "CERC" Raid-5 w/CENT OS. Is this true hardware RAID or just an expensive card? fireman949 Linux - Hardware 2 06-24-2005 05:44 PM
Have installed Slackware 9.0 and all i get when i boot is "GRUB" rockpc Slackware - Installation 5 11-29-2004 04:31 PM
Easy setup for "DNS, DHCP, squid, qmail, samba, etc " mobassir Linux - Software 8 08-18-2004 07:31 AM


All times are GMT -5. The time now is 12:43 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration