Matthew wrote:
>
> I am running Mandrake 6.0, I installed the raid tools, and loaded the
> raid1 module using insmod raid1. When I issue an lsmod raid1 is
> listed.
>
> When I cat the /proc/mdstat file it says:
> Personalities : [3 raid1]
> read_ahead not set
> md0 : inactive
> md1 : inactive
> md2 : inactive
> md3 : inactive
>
> I created an /etc/raidtab file that looks like this:
>
> raiddev /dev/md0
> raid-level 1
> nr-raid-disks 2
> nr-spare-disks 0
> chunk-size 4
>
> device /dev/sdb1
> raid-disk 0
>
> device /dev/sdc1
> raid-disk 1
>
> I created one partition of equal size on each drive mentioned in the
> raidtab file
>
> Then I issue the mkraid /dev/md0 command and it says:
>
> handling MD device /dev/md0
> analyzing super-block
> disk0: /dev/sdb1, 4441941kB, raid superblock at 4441856kB
> disk1: /dev/sdc1, 4441941kB, raid superblock at 4441856kB
> mkraid: aborted
>
> That is all it says, mkraid aborted. What am I doing wrong?
>
> Thanks in advance...
Did you reboot after partitioning the disks?
I seem to remember that the last time mkraid aborted on me I had just
re-partitioned the disks and hadn't rebooted.
Cheers,
Leandro