Hello

I'm having some problems with RAID0 on a RedHat 5.1 with kernel 2.0.35 here. I've 
downloaded a fresh 2.0.35 kernel, 
patched it with raid0145-19981005-C-2.0.35 patch from the alpha 
dir,recompiled/rebooted,  downloaded raidtools-
19981005-B-0.90.tar, compiled it per instructions (/autogen.sh;make; make install; 
make install_dev) and created the 
/etc/raidtab file :

raiddev /dev/md0
    raid-level                0
    nr-raid-disks             2
    nr-spare-disks            0
    chunk-size                8

    device                    /dev/hdc1
    raid-disk                 0
    device                    /dev/hdd1
    raid-disk                 1

This is the relevant part from dmesg:
md driver 0.90.0 MAX_MD_DEV=16, MAX_REAL=12
linear personality registered
raid0 personality registered
raid1 personality registered
raid5 personality registered
raid5: measuring checksumming speed
   8regs     :    99.822 MB/sec
   32regs    :    80.772 MB/sec
using fastest function: 8regs (99.822 MB/sec)
Partition check:
 hda: hda1 hda2 < hda5 hda6 >
 hdc: hdc1
 hdd: hdd1
autodetecting RAID arrays

when I issued /sbin/raidstart -a, the following appeared in /var/log/messages:

Oct 29 19:56:54 triglav kernel: md: auto-running md0.
Oct 29 19:56:54 triglav kernel: md: md0: raid array is not clean -- starting 
background reconstruction
Oct 29 19:56:54 triglav kernel: raid1: device hdd1 operational as mirror 1
Oct 29 19:56:54 triglav kernel: raid1: device hdc1 operational as mirror 0
Oct 29 19:56:54 triglav kernel: raid1: raid set md0 not clean; reconstructing mirrors
Oct 29 19:56:54 triglav kernel: raid1: raid set md0 active with 2 out of 2 mirrors
Oct 29 19:56:54 triglav kernel: md: updating md0 RAID superblock on device
Oct 29 19:56:54 triglav kernel: hdd1(write) hdd1's sb offset: 6297344
Oct 29 19:56:54 triglav kernel: md: syncing RAID array md0
Oct 29 19:56:54 triglav kernel: md: using idle IO bandwith for reconstruction.
Oct 29 19:56:54 triglav kernel: md: minimum reconstruction speed: 100 KB/sec.
Oct 29 19:56:54 triglav kernel: hdc1(write) hdc1's sb offset: 6297344
Oct 29 19:56:54 triglav kernel: .

Also when I've checked the 'top' listing, the raid1syncd process was taking up most of 
the CPU and memory.. from 
what I've read, there is no need to run mkraid when I use RAID0 configuration, but 
that doesen't make any difference 
as I've tried that too. How do I make it run in RAID0 and not in RAID1 mode ?


-------------------------------------------------------------------------------
  Stojan Rancic            // Knowledge is power !
  K2.Net                       // Use it, don't abuse it !
  http://www.k2.net      // 


Reply via email to