> I'm running RH 6.1 and a 2.2.14 kernel from SCSI drives. Then I have
Have U pached this kernel for the `new' md driver,
wich will work with raidtools v0.9
> 4x 60GB IDE disks which I want to format as a RAID0 array.
Why? I can't see the point in making 1 240Gb filesystem.
> I performed the following steps:
>
> 1. created a 0xfd ID partition 1 on every drive
>
> /dev/hda /dev/hdb /dev/hdc /dev/hdd:
>
> Disk /dev/hda: 255 heads, 63 sectors, 7473 cylinders
> Units = cylinders of 16065 * 512 bytes
>
> Device Boot Start End Blocks Id System
> /dev/hda1 1 7473 60026841 fd Linux raid autodetect
>
> Disk /dev/hdb: 255 heads, 63 sectors, 7473 cylinders
> Units = cylinders of 16065 * 512 bytes
>
> Device Boot Start End Blocks Id System
> /dev/hdb1 1 7473 60026841 fd Linux raid autodetect
>
> Disk /dev/hdc: 255 heads, 63 sectors, 7473 cylinders
> Units = cylinders of 16065 * 512 bytes
>
> ce Boot Start End Blocks Id System
> /dev/hdc1 1 7473 60026841 fd Linux raid autodetect
>
> Disk /dev/hdd: 255 heads, 63 sectors, 7473 cylinders
> Units = cylinders of 16065 * 512 bytes
>
> Device Boot Start End Blocks Id System
> /dev/hdd1 1 7473 60026841 fd Linux raid autodetect
Ok, understand this.
> 2. did a
> /sbin/mkfs -m 0 /dev/hda1
> /sbin/mkfs -m 0 /dev/hdb1
> /sbin/mkfs -m 0 /dev/hdc1
> /sbin/mkfs -m 0 /dev/hdd1
Why?
> 3. /sbin/mkraid /dev/md0
>
> /sbin/mkraid /dev/md0
> handling MD device /dev/md0
> analyzing super-block
> disk 0: /dev/hda1, 60026841kB, raid superblock at 60026752kB
> disk 1: /dev/hdb1, 60026841kB, raid superblock at 60026752kB
> disk 2: /dev/hdc1, 60026841kB, raid superblock at 60026752kB
> disk 3: /dev/hdd1, 60026841kB, raid superblock at 60026752kB
> mkraid: aborted, see the syslog and /proc/mdstat for potential clues.
Looks like raidtools v0.9 and an _old_ md.
I think paching the kernel should work.
> /etc/raidtab:
>
> # Sample raid-0 configuration
>
> raiddev /dev/md0
>
> raid-level 0 # it's not obvious but this *must* be
> # right after raiddev
>
> persistent-superblock 1 # set this to 1 if you want autostart,
> # BUT SETTING TO 1 WILL DESTROY PREVIOUS
> # CONTENTS if this is a RAID0 array created
> # by older raidtools (0.40-0.51) or mdtools!
>
> chunk-size 16
>
> nr-raid-disks 4
> nr-spare-disks 0
>
> device /dev/hda1
> raid-disk 0
>
> device /dev/hdb1
> raid-disk 1
>
> device /dev/hdc1
> raid-disk 2
>
> device /dev/hdd1
> raid-disk 3
>
> ---
>
> I'm clueless at the moment.
>
> When I reboot, the system hangs at prompting for root password or
> ^D which then reboots again.
This is kind of normal. RH disto's and alike scan's
youre /etc/ dir and preform's all kind of unholy things :-)
(I should know M working with Mandrake here :-)
I suggest you patch your kernel...
SysV