LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 09-25-2009, 01:42 PM   #1
Metapsyborg
LQ Newbie
 
Registered: Aug 2009
Posts: 4

Rep: Reputation: 0
Raid array won't auto-assemble


I've moved over from Archlinux, where I had created a Raid5 array, to slackware64 13. After some problems with installation due to my own stupidity, I am STILL having problems with the Raid array. I can manually run mdadm -As to assemble it but it will not automatically assemble on boot.

Part of the problem is my complete unfamiliarity with slackware. I'm used to an rc.conf and mkinicpio.conf files that are used to add modules, daemons, scripts, etc to the boot. From what I can tell slack has mkinitrd.conf and rc.modules for loading stuff, but I have those configured for raid and it still won't scan the array on boot. rc.modules even has a line to add "/sbin/modprobe raid5" to the boot but there ISN'T EVEN A RAID5 module. I'm using the huge kernel so I guess it's built in. mdadm.conf is set up with the array information and I've tried scanning devices by partition (how I had it set up before) and by explicitly stating the drives.

Basically, how do I get mdadm to run --assemble --scan at boot? Do I have to make an rc.mdadm or is there some other file where I can state parameters for mdadm to run at boot?
 
Old 09-25-2009, 03:50 PM   #2
Metapsyborg
LQ Newbie
 
Registered: Aug 2009
Posts: 4

Original Poster
Rep: Reputation: 0
So should I just make a script to run

/sbin/mdadm -As
/sbin/mount /dev/md0

and link to it in the rc.local file? Seems kind of hack-ish to me I figured it would naturally pick up the array so it could check it with the other disks.
 
  


Reply



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
mdadm array doesn't assemble seaking1 Linux - Software 8 03-06-2009 09:34 AM
Cannot assemble my clean RAID... silicon.pyro Linux - Server 12 08-20-2007 01:40 AM
Dismantle Raid 1 Array, then re-assemble...? freefall235 Linux - Hardware 4 07-31-2007 10:42 PM
mdadm fails to assemble my RAID device tomhildebrand Fedora 6 06-28-2007 12:08 AM
How to auto check RAID array and send results? fclifton Linux - General 0 11-10-2003 12:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation

All times are GMT -5. The time now is 05:26 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
Open Source Consulting | Domain Registration