Hi there,
I'm trying to setup RAID mirroring(raid1) for two of my partitions-/home
and /var. I installed a fresh copy of Slackware 7.0, and went on to read all
relevant docs. I fell apon the Quickstart Guide for RAID that's in
/usr/doc/'s. Because I had already installed Linux and wanted to do RAID on
two mounted partitions, I dropped to runlevel 1(administrative, or maint.).
>From there I unmounted my partitions, and did a 'mkraid /etc/raid1.conf'.
This wiped those partitions clean(don't worry, I made backups of /home and
/var to be restored when this is all working again).
All is good up to this point. Well as I progressed down the quickstart doc,
I needed to do an 'mdrun -p1 /dev/md0' to activate the raid. I for some
reason didn't have mdrun, so I downloaded the raidtools package from
ftp://ftp.kernel.org/pub/linux/daemons/raid/ I 'tar -xzvf'ed it to /usr/src
and tried to compile. I ran ./configure and it was ok, but when I tried to
'make' or 'make isntall', I get this error:
<snip>
raid_io.c : In function 'T` :
raid_io.c:39 storage size of 't` isn't known
make: *** [raid_io.o] Error 1
Any ideas how to fix this? I tried ignoring it and went on to do a
'mdrun -p1 /dev/md0', however I got more errors. This was the error:
PowerGem:/user/src/raidtools-0.42# mdrun -p1 /dev/md0
/dev/md0: Invalid argument
I checked in /dev and /md0, /md1, /md2, and /md3 were listed.
And suggestions greatly appreciated!
-Jamie
"To deny our own impulses is to deny the very thing which makes us human"