Hello,

I am trying to get raid level one working on my machine. I have
installed

raidtools-0.50beta10-2

and I have enabled the raid as a module in my kernel.

The output of the df command is:

/dev/hda1              54410   25292    26309     49%   /
/dev/sda5            17072834      13  16183684      0%   /local
/dev/sdb5            17072834      13  16183684      0%   /local1
/dev/hda7            7068742  836518  5865944     12%   /usr
/dev/hda6             303251   23454   264136      8%   /var


I have put /etc/raid1.conf which contains:

raiddev                 /dev/md0
raid-level              1
nr-raid-disks           2
nr-spare-disks          0

device                  /dev/sda5
raid-disk               0

device                  /dev/sdb5
raid-disk               1


Now I do the follwing:

root> /sbin/mkraid -c /etc/raid1.conf /dev/md0 
handling MD device /dev/md0
analyzing super-block
disk 0: /dev/sda5, 17782752kB, raid superblock at 17782656kB
/dev/sda5 is mounted
mkraid: aborted

So why am I getting mkraid aboarted. Also do I need to have an
/etc/raidtab file...

I tried this /etc/raidtab (I edited a the distributed sample file):

raiddev /dev/md2
    raid-level                1
    nr-raid-disks             2
    nr-spare-disks            0
    chunk-size                128

    device                    /dev/sda5
    raid-disk                 0
    device                    /dev/sdb5
    raid-disk                 1


So please what am I doing wrong. I am trying to make /local and /local1
mirror each other.

Thanks for any pointers.


Oh, I have RH5.2 kernel 2.0.36 (on i386 machine) - I have the raid 
enabled as a module. I didn't add any patches for the kernel to 
support raid. Do I need to add some patches ? If I do, is there 
a way of knowing if these patches have been applied to the 
kernel already ?

Thanks,
Abed

-- 
Abed M. Hammoud, D.Sc.                          [EMAIL PROTECTED]
IntellX L.L.C.                                  Office: (303) 469-7383
Colorado, USA                                   http://www.anatomic.com/abed

Reply via email to