Chris Chabot wrote:

> Help! im lost, finaly have found the new howto on ftp.fi.kernel.org after days
> of dispair and old documentation... tried the new tools ... nada ... tried
> kernel patches ... busted kernel 2.2.5 ...
>
> My problem is this ... i created the /etc/raidtools (modified example raid1
> raidtab) with 3 scsi disks .. then as the howto states i do a
>
>     [root@sauron /root]# mkraid /dev/md0
>     handling MD device /dev/md0
>     analyzing super-block
>     disk 0: /dev/sda1, 4192933kB, raid superblock at 4192832kB
>     disk 1: /dev/sdb1, 4192933kB, raid superblock at 4192832kB
>     disk 2: /dev/sdc1, 4192933kB, raid superblock at 4192832kB
>     mkraid: aborted
>
> this is what ive been getting all the time now .. no explination, no reasons, no
> fixes <sigh>, what am i doing wrong?
>
> Ps my raidtab:
>
> raiddev                         /dev/md0
>   raid-level            0
>   nr-raid-disks         3
>   nr-spare-disks        0
>   chunk-size            16
>   persistent-superblock 1
>   device          /dev/sda1
>   raid-disk       0
>   device          /dev/sdb1
>   raid-disk       1
>   device          /dev/sdc1
>   raid-disk       2
>
> and my /proc/mdstats
>
>     Personalities : [1 linear] [2 raid0] [3 raid1] [4 raid5]
>     read_ahead not set
>     md0 : inactive
>     md1 : inactive
>     md2 : inactive
>     md3 : inactive
>
> thanks in advance, for any help
>
>     -- Chris

It looks like you have the new version of the tools and the standard raid
which comes with the kernel. This does not work. You need to apply
the kernel patch (easiest if you start with 2.2.3 and apply the 2.2.3 patch)

cd /usr/src
patch -p0 < ./raid0145-19990309-2.2.3

and then recompile the kernel and install. You then need the corresponding
tools version.

Brian Murphy

Reply via email to