LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Automounting Raid drives (https://www.linuxquestions.org/questions/linux-newbie-8/automounting-raid-drives-99117/)

voldermort 10-01-2003 03:05 PM

Automounting Raid drives
 
My box contains an on board raid chip (the Promise pdc 20276). On the raid I have just one hard drive containing 2 partitions. After following the instruction on the Promise web site, I have created a FastTrak.o module and copied it to the modules directory. (Thanks to the other forums for guiding me to sorting this problem).

When I boot up I get an error (something along the lines of "undefined dependencies in the modue FastTrak.o"). After booting I am able to run the following commands:

insmod FastTrak
mount -t vfat /dev/sda1 /mnt/raid1
mount -t vfat /dev/sda5 /mnt/raid2

This works fine, I want to know if there is a way of automating this process so that all users can read and write to the drive without having to issue these commands.

jailbait 10-01-2003 07:15 PM

" I want to know if there is a way of automating this process"

You could try putting the raid mounts in /etc/fstab.

voldermort 10-02-2003 07:33 AM

The drives are already in the fstab. When taking a closer look at the boot-up screen, I see that it tries to mount both the sda drives, so the problem must be with the new module.

The error message is "unresolved symbol in lib/blah/de/blah/FastTrak.o"

Has anybody come across a similar problem?

jailbait 10-02-2003 09:52 AM

" I want to know if there is a way of automating this process"

You could put the three commands in a startup script. On SuSE the best place to put them is in /etc/init.d/boot.local


___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites


All times are GMT -5. The time now is 03:06 PM.