I'm running RH 6.1 and a 2.2.14 kernel from SCSI drives. Then I have
4x 60GB IDE disks which I want to format as a RAID0 array.
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
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
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.
cat /proc/mdstat
Personalities : [1 linear] [2 raid0] [3 raid1] [4 raid5]
read_ahead not set
md0 : inactive
md1 : inactive
md2 : inactive
md3 : inactive
/var/log/messages doesn't contain any logs referring to mkraid.
/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.
--
Chris Christoph P. U. Kukulies [EMAIL PROTECTED]