Hi John,

you wrote, that you've patched the kernel and wanted to know if it was
successfully patched; you can see it by the messages printed out by the
patch. If there are lines
like "hunk succeded at line..." or something similar, all have been done
right. You can also look for rejects (files which end up with .rej); if
there are anything the patch seems to have worked successfully, too.
Next you can try is to give mkraid the force option (mkraid
--really-force). As far as I see, you have successfully patched the
kernel and built in the md-support. By the way: did you reboot your
machine (I think yes) or is the mdstat-output that of older raidtools?

Geetings, Dietmar

John Walker wrote:
> 
> I have faithfully followed all the directions in the HOWTO at
> ostenfeld.dk/~jakob/Software-RAID.HOWTO/... However, I am having no luck
> building an MD device. Everything seems fine except mkraid consistently
> aborts with no feedback. (None that is useful to me anyway.)
> 
> I'm running a patched 2.2.3 kernel (is there a way to tell if I patched it
> successfully?)and using v 0.90 of the raidtools.
> 
> Here's the output of mkraid:
> 
> [root@sql /root]# mkraid /dev/md0
> handling MD device /dev/md0
> analyzing super-block
> disk 0: /dev/hda6, 1799248kB, raid superblock at 1799168kB
> disk 1: /dev/hdc6, 1810588kB, raid superblock at 1810496kB
> mkraid: aborted
> [root@sql /root]#
> 
> Here's what /proc/mdstat looks like:
> 
> [root@sql /root]# cat /proc/mdstat
> Personalities : [1 linear] [2 raid0] [3 raid1] [4 raid5]
> read_ahead not set
> md0 : inactive
> md1 : inactive
> md2 : inactive
> md3 : inactive
> [root@sql /root]#
> 
> My /etc/raidtab looks like this:
> 
> # Sample raid-1 configuration (modified to our needs-JSW)
> # /dev/hdx6 = /var
> #
> raiddev /dev/md0
>         raid-level              1
>         nr-raid-disks           2
>         nr-spare-disks          0
>         chunk-size              4
>         persistent-superblock   1
>         device                  /dev/hda6
>         raid-disk               0
>         device                  /dev/hdc6
>         raid-disk               1
> #
> #
> # /dev/hdx5 = /home
> #
> raiddev /dev/md1
>         raid-level              1
>         nr-raid-disks           2
>         nr-spare-disks          0
>         chunk-size              4
>         persistent-superblock   1
>         device                  /dev/hda5
>         raid-disk               0
>         device                  /dev/hdc5
>         raid-disk               1
> #
> #
> # /dev/hdx3 = /usr
> #
> raiddev /dev/md2
>         raid-level              1
>         nr-raid-disks           2
>         nr-spare-disks          0
>         chunk-size              4
>         persistent-superblock   1
>         device                  /dev/hda3
>         raid-disk               0
>         device                  /dev/hdc3
>         raid-disk               1

-- 
A guess may be one solution but not the only one ;-)

Dietmar Stein, Systemadministrator UNIX/Linux
[EMAIL PROTECTED], [EMAIL PROTECTED]

Reply via email to