Hi all, I am new to the use of raidtools. I want to set up a raid0 drive with a scsi disk and an ide disk. I am using redhat-6.2, and I have the latest kernel version 2.2.15 running, which I downloaded after the normal installation. I needed it because I had trouble with the tulip.o module in 2.2.14. I do a lillte more cutting and pasting to describe my problem. I enclose such a section between two lines. I hope you are not to annoyed of it. If so, I am really sorry for it. My raidtab looks like this: ----------------------------------------------------------------------------- # # /etc/raidtab # raiddev /dev/md0 raid-level 0 persistent-superblock 1 chunk-size 16 nr-raid-disks 2 nr-spare-disks 0 device /dev/sdc1 raid-disk 0 device /dev/hda1 raid-disk 1 ----------------------------------------------------------------------------- When I issue mkraid /dev/md0 it just aborted. Then I did a "force" and then it said: ----------------------------------------------------------------------------- handling MD device /dev/md0 analyzing super-block disk 0: /dev/sdc1, 8956206kB, raid superblock at 8956096kB disk 1: /dev/hda1, 9903568kB, raid superblock at 9903488kB mkraid: aborted, see the syslog and /proc/mdstat for potential clues. ----------------------------------------------------------------------------- There is nothing in my syslog and /proc/mdstat says: ----------------------------------------------------------------------------- Personalities : [1 linear] [2 raid0] [3 raid1] read_ahead not set md0 : inactive md1 : inactive md2 : inactive md3 : inactive ----------------------------------------------------------------------------- I was playing with the conf file, swaping the disk order, changing the chunksize and persistent-superblock values. But the result is always the same. Now, I had the possibility to try raidtools-0.90-6 on another machine. The kernel there is the one which shipped with redhat-6.2 (2.2.14-5.0). I did it nearly the same way, and I was surprised that it was so easy to get it to work. The only difference is that there I have two scsi disks and the older kernel. Thus, I assumed that it has something to do with my newer kernel version. Booting with my old kernel, that came with the distribution brought me the following results (same raidtab): Output of mkraid: (I was forcing again) ----------------------------------------------------------------------------- DESTROYING the contents of /dev/md0 in 5 seconds, Ctrl-C if unsure! bind<sdc1,1> bind<hda1,2> hda1's event counter: 00000000 sdc1's event counter: 00000000 mask fffffff0 rdev->size: 9903488 masked rdev->size: 9903488 new md_size: 9903488 rdev->size: 8956096 masked rdev->size: 8956096 new md_size: 18859584 raid0: looking at sdc1 raid0: comparing sdc1(8956096) with sdc1(8956096) raid0: END raid0: ==> UNIQUE raid0: 1 zones raid0: looking at hda1 raid0: comparing hda1(9903488) with sdc1(8956096) raid0: NOT EQUAL raid0: comparing hda1(9903488) with hda1(9903488) raid0: END raid0: END raid0: ==> UNIQUE raid0: 1 zones raid0: looking at hda1 raid0: comparing hda1(9903488) with sdc1(8956096) raid0: NOT EQUAL raid0: comparing hda1(9903488) with hda1(9903488) raid0: END raid0: END raid0: ==> UNIQUE rdev->size: 9903488 masked rdev->size: 9903488 new md_size: 9903488 rdev->size: 8956096 masked rdev->size: 8956096 new md_size: 18859584 raid0: looking at sdc1 raid0: comparing sdc1(8956096) with sdc1(8956096) raid0: END raid0: ==> UNIQUE raid0: 2 zones raid0: FINAL 2 zones zone 0 checking sdc1 ... contained as device 0 (8956096) is smallest!. checking hda1 ... contained as device 1 zone->nb_dev: 2, size: 17912192 current zone offset: 8956096 zone 1 checking sdc1 ... nope. checking hda1 ... contained as device 0 (9903488) is smallest!. zone->nb_dev: 1, size: 947392 current zone offset: 9903488 done. raid0 : md_size is 18859584 blocks. raid0 : conf->smallest->size is 947392 blocks. raid0 : nb_zone is 20. raid0 : Allocating 160 bytes for hash. hda1 [events: 00000001](write) hda1's sb offset: 9903488 sdc1 [events: 00000001](write) sdc1's sb offset: 8956096 ----------------------------------------------------------------------------- Then I stopped md0 and did mkraid again. After three or four tries, I only got the normal output of mkraid which looked like this : ----------------------------------------------------------------------------- handling MD device /dev/md0 analyzing super-block disk 0: /dev/sdc1, 8956206kB, raid superblock at 8956096kB disk 1: /dev/hda1, 9903568kB, raid superblock at 9903488kB ----------------------------------------------------------------------------- Thereafter /proc/mdstat seemed ok to me: ----------------------------------------------------------------------------- Personalities : [raid0] read_ahead 1024 sectors md0 : active raid0 hda1[1] sdc1[0] 18859584 blocks 16k chunks unused devices: <none> ----------------------------------------------------------------------------- Then after a reboot with my newer kernel, the raid0 was gone. I tried to do a mkraid again, but the results were the same as before. I think I have to do some patching to the kernel but I never did that and I don't know which, how, where , .... etc. Maybe some of you can help me or at least give me some hints how to get along with this. Greeting and thanks in advance Timo