I'm having trouble setting up raid0 on a debian box running 2.4.4 kernal with raid support, for the first time. I'd appreciate some help working out how to get it going.
[1] installed raidtools and raidtools2. device /dev/md0 was created successfully. [2] cat /proc/mdstat Personalities : [linear] [raid0] [raid1] [raid5] read_ahead not set unused devices: <none> [3] confirmed for raid0 module cat /etc/modules.conf ----snip----- ### update-modules: start processing /etc/modutils/raidtools alias md-personality-1 linear alias md-personality-2 raid0 alias md-personality-3 raid1 alias md-personality-4 raid5 ### update-modules: end processing /etc/modutils/raidtools ----snip----- [5] ran "/etc/init.d/modutils restart" [6] locate raid0 /lib/modules/2.2.19pre17/block/raid0.o /usr/include/linux/raid/raid0.h" [7] Created two linux partitions /dev/hda5 & /dev/hdb6 of equal size ie approx 27GB. These partitions were left unmounted. [8] used "mdcreate -c8k raid0 /dev/md0 /dev/hda5 /dev/hdb6 to create /etc/mdtab" cat /etc/mdtab # mdtab entry for /dev/md0 /dev/md0 raid0,8k,0,c4ed3d70 /dev/hda5 /dev/hdb6 [9] ran the command "mdadd -ar" stderr output /dev/hda5: No such device /dev/hdb6: No such device /dev/md0: No such device [10] also tried creating a raidtab file and executing this with mkraid cat /etc/raid/raidtab #This is a RAID 0 (Stripe, no parity) configuration raiddev /dev/md0 # Specify RAID device for config raid-level 0 # Specify type of RAID [linear,0,1 etc] nr-raid-disks 2 # Specify number disks in stripe persistent-superblock 1 # Allow RAID to autodetect on boot chunk-size 32 # 4k to 4M emperically determined device /dev/hda5 # Specify device for 1st RAID disk raid-disk 0 #First disk of RAID device /dev/hdb6 # Specify device for 2nd RAID disk raid-disk 1 # Second disk of RAID running "mkraid /etc/raid/raidtab" lead to stderr output: mkraid version 0.36.4 parsing configuration file raid level 0 not supported -- Kind regards Christian