Hi,
Has anyone tried to created a Software RAID 0 drive under Redhat Linux 7.0?
I followed the instructions to create the /etc/raidtab file with the
following settings on a Abit KT7-RAID motherboard with 2 Maxtor 20GB 7200RPM
ATA100 hard drives. Kernel was recompile to include the raid modules.
/etc/raidtab
--------------------------------------------------------
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 2
nr-spare-disks 0
device /dev/hde1
raid-disk 0
device /dev/hdg1
raid-disk 1
-----------------------------------------------------------------
when I try to run mkraid, it give the following error:
---------------------------------------------------- cat /proc/mdstat result in the following: both hard drives /dev/hde and /dev/hdg are partitioned as type fd Device Boot Start End Blocks Id System Disk /dev/hdg: 16 heads, 63 sectors, 39704 cylinders Device Boot Start End Blocks Id System The kernel has been patch for the highpoint controller and is functioning Am I missing something here? Any help is greatly appreciated! Daniel Chuen
handling MD device /dev/md0
analyzing super-block
disk 0: /dev/hde1, 20010784kB, raid superblock at 20010688kB
disk 1: /dev/hdg1, 20010784kB, raid superblock at 20010688kB
mkraid: aborted, see the syslog and /proc/mdstat for potential clues.
---------------------------------------------------------------------------
----------------------
---------------------------------------------------------
Personalities : [2 raid0]
read_ahead not set
md0 : inactive
md1 : inactive
md2 : inactive
md3 : inactive
---------------------------------------------------------
-----------------------------------------------------------
Disk /dev/hde: 16 heads, 63 sectors, 39704 cylinders
Units = cylinders of 1008 * 512 bytes
/dev/hde1 1 39704 20010784+ fd Linux raid autodetect
Units = cylinders of 1008 * 512 bytes
/dev/hde1 1 39704 20010784+ fd Linux raid autodetect
---------------------------------------------------------------------------
------------------
properly. The kernel has no problem detecting and formating the drivers
individually.