Hey out there!

I have a HUGE problem with RAID 2 on Linux:
I have two 9GB UW-SCSI hard disks on two different SCSI controllers (both
sym53c875E). There is a 100MB (boot) partition and a swap partition on both
disks (non-RAID).

Now I created a 1GB partition on the disks (/dev/sda3 and /dev/sdb3) and I
want
to establish RAID 1 mirroring on these partitions.

First I tried Linux 2.3.47 but I saw that RAID 1 an 4/5 are disabled in this
version. Next I took 2.2.14, compiled md into the kernel, LINEAR, RAID 0, RAID
1
and RAID 4/5 as modules. I used raidtools 0.42 (from Debian 2.1) and 0.90.

My best result with 0.42 was a RAID 0 array. But when I tried to create a RAID
1
array, I only got this result:
-----
 # cat /proc/mdstat 
  Personalities : [1 linear] [3 raid1] [4 raid5]
  read_ahead 128 sectors
  md0 : inactive sda3 sdb3 2099200 blocks
  md1 : inactive
  md2 : inactive
  md3 : inactive
 # mdrun -p1 -c8k /dev/md0
  md: 08:03: invalid raid superblock magic (0) on block 1049536
  /dev/md0: Invalid argument
-----
I also tried mkraid:
-----
 # cat /etc/raidtab
  # Sample raid-1 configuration
  raiddev                       /dev/md0
  raid-level            1
  nr-raid-disks         2
  nr-spare-disks                0
  chunk-size            4
  
  device                        /dev/sda3
  raid-disk             0
  
  device                        /dev/sdb3
  raid-disk             1
  
 # mkraid /dev/md0 
  mkraid version 0.36.4
  parsing configuration file
  mkraid: aborted
-----

This RAID array took me already 2 days up to now, and I don't know what I
could
do further. I'm really sorry if this question is too stupid, but I've read the
manuals several times... :-(

TIA,
Thomas

Reply via email to