Raid with Promise ATA raid contoller

Raid with Promise ATA raid contoller

Post by Jason L. W » Fri, 08 Jul 2005 16:29:35


Hello guys:

I've posted about raid suggestions and explaining about the lack of
support of the Promise Fasttrack 100 raid card, that is of a recent
driver for the 2.6 kernel. I'm cool with that. I was told that there was
really no advantage using this driver over a simple software emulation
that is already there in any new distro. I'm proud to report that I'm
using "mdadm" successfully with this card because I realize the kernel
sees it as just a regular ATA card and that's the main reason why I'm
using the card is because my motherboard has the two usual primary and
secondary contollers. My first 80GB drive is taking up the primary
contoller and my second contoller has the cd drive attatch to it. I have
two 200GB on the Promise contoller on the first and second IDE ports. I
was able to get the array "live" by issuing the command:

# mdadm --create --verbose /dev/md0 --level=0 --raid-devices=2
/dev/hde1 /dev/hdg1

Now running "cat /proc/mdstat" I get:

Personalities : [raid0]
md0 : active raid0 hdg1[1] hde1[0]
390716672 blocks 64k chunks

Now my question, how do you get the array to come back alive after a
reboot then remounted? I'm certain you don't have to rebuild and remount
the array everytime. The close I've come to getting this achieve is by
adding these two lines to the "/etc/rc.local" file:

/sbin/mdadm -A /dev/md0 /dev/hde1 /dev/hdg1
/bin/mount -t ext3 /dev/md0 /data

It works, but is this correct or OK? Listen, I've done much research on
this with Google and come up with alot of sites telling you how to
establish the array but none telling how to get the array to come back
after a reboot. Any help would be appreciated, and please spare me the
torch, I'm senstive to flames..LOL!

-Jason

--
Registered Linux user #339721
Visit me @ http://www.yqcomputer.com/