Slackware This Forum is for the discussion of Slackware 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
11-13-2008, 10:02 AM
#1
LQ Newbie
Registered: Nov 2008
Posts: 13
Rep:
slackware 11 and software RAID ?
i need help setting up RAID in my slackware 11 system
i was following this guide
http://slackware.osuosl.org/slackwar...EADME_RAID.TXT
and so far reached here
http://img259.imageshack.us/img259/2752/33881396zr1.png
when i try to use mdadm from the slackware cd it says there is no such file .. am i doing something wrong ?
edit:+: and in which partition would i install slackware ? (the pic above)
Last edited by indabhutt; 11-13-2008 at 10:14 AM .
11-13-2008, 11:28 AM
#2
Senior Member
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853
Rep:
First things first, I used
this guide when I set up a RAID at work - it hasn't failed me, yet.
I get this idea that mdadm is not installed on the Slackware install DVD - I could be proven wrong by running
Code:
# find / -iname mdadm
. As for which partition to install Slackware to, I really do not know.
My tried-and-true method for doing funky hardware arrangements (from RAID arrays, to setups with more than one HD) is to have a dedicated boot drive to work from.
11-13-2008, 12:16 PM
#3
Senior Member
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810
Quote:
I get this idea that mdadm is not installed on the Slackware install DVD - I could be proven wrong by running
It should be - on a Slackware 12.1 install dvd it's in /sbin when booted.
11-13-2008, 12:48 PM
#4
LQ Newbie
Registered: Nov 2008
Posts: 13
Original Poster
Rep:
@indienick
i have read that , but i guess i need to read that again .. i might have missed something earlier ..
@bgeddy
its not in slackware 11 , anyway am using slax live cd to mdadm RAID ...
as for installation of slackware 11 to the partition .. am still confused too :|
11-13-2008, 12:59 PM
#5
Senior Member
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810
Quote:
its not in slackware 11 , anyway am using slax live cd to mdadm RAID ...
Well the guide you give the link to
here is from Slackware 12.1 so that wouldn't surprise me.
In any case using a guide from one version (12.1) to setup another (11) may well give you problems.
11-13-2008, 01:51 PM
#6
Slackware Contributor
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 961
Yes mdadm was introduced to the initrd in slackware-12.0. Versions prior to that will use raidtools.
An article dealing with slackware and raidtools is here.
http://www.userlocal.com/articles/ra...ware-linux.php
11-13-2008, 02:45 PM
#7
LQ Newbie
Registered: Nov 2008
Posts: 13
Original Poster
Rep:
i still cant figure out where to install the actuall operating system (slackware 11) . is it possible to install slackware on a partition formatted with linux raid autodetect ?
11-13-2008, 03:21 PM
#8
Slackware Contributor
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 961
Check to see that the raid is started with.
Should show something like /dev/md0
That is where you need to install to (may be md1 md2 etc..)
11-13-2008, 03:27 PM
#9
LQ Newbie
Registered: Nov 2008
Posts: 13
Original Poster
Rep:
thanks a lot
11-14-2008, 01:00 AM
#10
LQ Newbie
Registered: Nov 2008
Posts: 13
Original Poster
Rep:
Quote:
Start by creating the RAID array for your root filesystem.
- RAID 0:
mdadm --create /dev/md0 --level 0 --raid-devices 2 \
/dev/sda2 /dev/sdb2
- RAID 1:
mdadm --create /dev/md0 --level 1 --raid-devices 2 \
/dev/sda1 /dev/sdb1
- RAID 5:
mdadm --create /dev/md0 --level 5 --raid-devices 3 \
/dev/sda2 /dev/sdb2 /dev/sdc2
one more doubt .. thats ^^ from the guide ...
err same /dev/md0 block device for all the raid ? that cant be right ...
11-14-2008, 01:39 AM
#11
Slackware Contributor
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 961
No they are 3 different examples for 3 different levels of raid 0,1 and 5.
Just choose the one that applies to you.
11-14-2008, 01:51 AM
#12
LQ Newbie
Registered: Nov 2008
Posts: 13
Original Poster
Rep:
ah ok .. thanks
so its possible to create different RAID setups on the same HDD .. but on different partition .. right ?
these stupid doubts keep coming up
11-14-2008, 02:28 AM
#13
LQ Newbie
Registered: Nov 2008
Posts: 13
Original Poster
Rep:
@mRgOBLIN ,John Jenkins ?
i was reading your guide ... very helpfull .. thanks a lot
11-14-2008, 04:56 PM
#14
Slackware Contributor
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 961
Quote:
Originally Posted by
indabhutt
ah ok .. thanks
so its possible to create different RAID setups on the same HDD .. but on different partition .. right ?
these stupid doubts keep coming up
Yes it is.
you can for example have
md0 raid0 sda1,sdb1
md1 raid1 sda2,sdb2
md2 raid0 sda3,sdb3 etc...
Last edited by mRgOBLIN; 11-14-2008 at 05:00 PM .
11-15-2008, 06:37 AM
#15
LQ Newbie
Registered: Nov 2008
Posts: 13
Original Poster
Rep:
ah ok .. thanks very much
Thread Tools
Search this Thread
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
All times are GMT -5. The time now is 10:03 AM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News