At 11:11 AM 3/17/99 +0100, you wrote:
>
> I've been playing with raid-1 too, with 0.90-0399 on RH 5.2. I have been
>creating/destroying raid partitions quite a lot and have had this error a
>few times. I now have what I believe to be a recipe for success:
>
ok, i give up, what did you do to get the thing working ?
i downloaded the kernel patch this morning and the kernel sources from
ftp.us.kernel.org and applied them, when i went to compile the kernel i got
an error in setup.c ..
setup.c: In function `setup_arch':
setup.c:129: `empty_zero_page' undeclared (first use this function)
setup.c:129: (Each undeclared identifier is reported only once
setup.c:129: for each function it appears in.)
setup.c:125: warning: `memory_end' might be used uninitialized in this
function
setup.c:127: warning: `memory_alt_end' might be used uninitialized in this
function
make[1]: *** [setup.o] Error 1
make[1]: Leaving directory `/usr/src/linux/arch/i386/kernel'
make: *** [linuxsubdirs] Error 2
I then reverted back to the old raidtools package that came with redhat 5.2
(raidtools 0.50beta1 or something) and then insmoded the raid1 module..
this then allowed me to mkraid --force /dev/md0
*yay* the partitions mirrored finally
my /proc/mdstat is as follows..
Personalities : [3 raid1]
read_ahead not set
md0 : inactive
md1 : inactive
md2 : inactive
md3 : inactive
(and yeah, i added the entry to the /etc/conf.modules file)
this shows the raid1 module has been loaded and registered, i now seem to
have all i need to mke2fs the /dev/md0 device, yet when i do this i get the
following error.
[root@yggdrasil linux]# mke2fs /dev/md0
mke2fs 1.14, 9-Jan-1999 for EXT2 FS 0.5b, 95/08/09
/dev/md0: Invalid argument passed to ext2 library while setting up superblock
redhat it seems, comes with the required patches to get raid working - yet
buggered if i know what else i need to do to get the thing to work past a
mke2fs, the kernel patch seems to be broken or at least doesnt work for me
this is the file i am useing to patch the kernel
-rw-r--r-- 1 root steve 375799 Mar 18 09:50
/usr/src/raid0145-19990128-2.0.36
the kernel - as i stated previously - is a clean 2.0.36 tarball i
downloaded this morning.
*sigh* this is getting frustrating.
looking for more help..
Steve.