I think my problem must lie with the fact that the system im running
from is very minimal system.
I did check mkraid with ldd, and it only requires
ld-linux.so.2 and libc.so.6 which i have.
I actually have 2 systems a fully working raid system and this test
machine. Im trying to use the same configuration on both.
Im not trying to create a raid on a loopback device (pretty cool idea
though). Im trying to make the raid on regualar disks from a rootfs
mounted on ramdisk (or loopback? im not sure).
My guess at this stage is that there must be some other dependency
somewhere that i have wrong.
But i could still be doing something stupid, im sure ive had mkraid
segfaults before.... which i could remember what i did.
Oh well, live and learn
Thanks
Glenn McGrath
Mika Kuoppala wrote:
>
> I tried raid1 array thru 2 loop devices.
> Raidtab was like this:
>
> -- clip clip --
> raiddev /dev/md0
> raid-level 1
> nr-raid-disks 2
> nr-spare-disks 0
> chunk-size 4
>
> device /dev/loop1
> raid-disk 0
>
> device /dev/loop2
> raid-disk 1
>
> --- clip clip---
>
> mkraid worked fine, resync worked also fine.
> I was able to make a file system into it and
> then mounted it.
>
> But when i started to write big file into it, it
> ate all memory and different running programs started to
> print 'Out of memory <insert a program name here>'
> And eventually very promptly my machine totally hung and
> i had to use reset switch.
>
> The kernel was 2.2.13ac1 with raidtools 0.90
>
> -- Mika <[EMAIL PROTECTED]>