LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   More Raid issues (http://www.linuxquestions.org/questions/slackware-14/more-raid-issues-853983/)

interndan 01-03-2011 03:41 PM

More Raid issues
 
I'm trying to get a Sans Digital raid set up for Slackware. It uses Highpoint Rocketraid control card. I downloaded and built the module for the driver and finally got it to work with an initrd. The raid is set up and mounts to /media/disk1. The drive seems to be working fine. The problem I'm having is I can't get the control software to work. Neither CLI or WebGui. Has anyone made this work with Slackware?

Thanks for any help.

Slackware 13.1 Fresh install

interndan 01-07-2011 10:45 AM

Ok, I finally got the raid built properly and have the modules built. I need to issue (as root) modprobe rr62 x and hptsvr to make everything mount and work. If I wait until the system is booted issuing the modprobe command starts the module and auto mounts the raid to /media/disk. I tried putting the modprobe command in rc.local but when I do that, the module loads but does not automount the array. Where should the command go so the array gets automounted. I know I can make an initrd to issue the command, but then I have to have an entry in fstab to mount the device. There is nothing wrong with that and I know how to do it, but I would prefer not to do it that way.

I'm still learning hopefully as I go along.

Thanks
Dan

mostlyharmless 01-07-2011 10:52 AM

I think the alternative is to recompile the kernel with support built in. I'd stick with the initrd and modules, personally.

interndan 01-07-2011 01:08 PM

I tried that, but during boot up it it rr62x and froze. I tried recompiling three times and could never make it work.

Linux.tar.gz 01-11-2011 07:09 AM

Quote:

Originally Posted by interndan (Post 4216558)
Ok, I finally got the raid built properly and have the modules built. I need to issue (as root) modprobe rr62 x and hptsvr to make everything mount and work. If I wait until the system is booted issuing the modprobe command starts the module and auto mounts the raid to /media/disk. I tried putting the modprobe command in rc.local but when I do that, the module loads but does not automount the array. Where should the command go so the array gets automounted. I know I can make an initrd to issue the command, but then I have to have an entry in fstab to mount the device. There is nothing wrong with that and I know how to do it, but I would prefer not to do it that way.

I'm still learning hopefully as I go along.

Thanks
Dan

Try this as a test in rc.local (in the order you launch it manually):
modprobe rr62x
sleep 5
modprobe hptsvr

interndan 01-11-2011 03:48 PM

I should have been more clear. The rr62x module is the driver module for the rocketraid control card. Hptsvr is a binary file that starts the webgui interface. The real issue I am having is with the driver module. the problems are as stated in earlier post. I don't understand why issuing the modprobe rr62x command from a terminal will automount the raid array, but pacing it in rc.local will not.The only issue (which really is no problem) the driver module has to be started first and the array mounted.

Linux.tar.gz 01-12-2011 02:11 AM

This is indeed pretty strange.

A dirty workaround :
Create a script with all needed inside, make it sudo-able, and launch it from .xinitrc

interndan 01-13-2011 03:10 PM

That would work,however I already settled on using an initrd and an entry in fstab for the driver and mounting the raid. Then an rc.local command to start the web gui.

I think I'll mark this as solved, even though I still haven't an answer for the original question. Just some work aroounds that do the job.

Thanks
Dan


All times are GMT -5. The time now is 09:31 AM.