Here's my hardware configuration:

One ATA66 drive attached to the MB

Two ATA66 drives attached to a Promise Ultra/66 controller

In order to get the Promise Ultra/66 controller to work, I had to
apply a patch to the 2.2.14 kernel.  I took the standard kernel, ran
the patch, configured it, compiled, and booted on it, and it came up
and detected the Promise Ultra/66 with no problems.

Then I did fdisk, and put some type FD (Linux RAID) partitions on the
Promise-attached drives.  They look like this:

/dev/hde1             1        31     15592+  83  Linux
/dev/hde2            32     28478  14337288   fd  Linux raid autodetect
/dev/hde3         28479     39770   5691168   83  Linux

and 

/dev/hdg1             1        31     15592+  83  Linux
/dev/hdg2            32     28478  14337288   fd  Linux raid autodetect
/dev/hdg3         28479     39770   5691168   83  Linux

Then I put this in /etc/raidtab:

raiddev /dev/md0
        raid-level              1
        nr-raid-disks           2
        nr-spare-disks          0
        chunk-size              16
        persistent-superblock   1
        device                  /dev/hde2
        raid-disk               0
        device                  /dev/hdg2
        raid-disk               1

and when I run

        mkraid /dev/md0

I get:

[hh@server raidtools-0.90]# mkraid /dev/md0
handling MD device /dev/md0
analyzing super-block
disk 0: /dev/hde2, 14337288kB, raid superblock at 14337216kB
disk 1: /dev/hdg2, 14337288kB, raid superblock at 14337216kB
mkraid: aborted, see the syslog and /proc/mdstat for potential clues.

I don't see anything in syslog, and /proc/mdstat looks like this:

[hh@server raidtools-0.90]# cat /proc/mdstat
Personalities : [3 raid1] [4 raid5]
read_ahead not set
md0 : inactive
md1 : inactive
md2 : inactive
md3 : inactive


Any clues?  I feel like I've done everything according to the
instructions, and I feel like I'm very close to getting it to work,
but it's still not working.  Have I left out something important in
the kernel config?  Or did I need a RAID patch to the 2.2.14 kernel to
get it to work?  This last possibility would be unfortunate, because
it will be difficult to apply both a RAID patch and a Promise Ultra/66
patch.

Thanks for your help,

e

-- 
This message was my two cents worth.  Please deposit two cents into my
e-gold account by following this link:
http://rootworks.com/twocentsworth.cgi?102861
275A B627 1826 D627 ED35  B8DF 7DDE 4428 0F5C 4454

Reply via email to