Software RAID


Subject: Software RAID
From: Bryn Hughes (linux@mail.cbodycentral.net)
Date: Wed May 30 2001 - 17:57:24 MDT


Hi there everyone,

I'm trying to get a software RAID array up and running. I've
followed the HOWTO on the Linux Documentation Project page, including
compiling my kernel with the RAID patches installed. /proc/mdstat
shows my RAID personalities are registered. I'm using kernel 2.2.19
from kernel.org with the raid options compiled as modules.

When I run /sbin/mkraid /dev/md0 I get:

handling MD device /dev/md0
analyzing super-block
disk 0: /dev/hdb2, 3911827kB, raid superblock at 3911744kB
disk 1: /dev/hdc4, 5245222kB, raid superblock at 5245120kB
disk 2: /dev/hdd1, 4209376kB, raid superblock at 4209280kB
mkraid: aborted, see the syslog and /proc/mdstat for potential clues.

There is NOTHING in /var/log/messages nor dmesg that would indicate
anything. I get a message at boot saying the personalities are
successfully registered, but that's it. What am I missing?

My /etc/raidtab file:

cat /etc/raidtab
raiddev /dev/md0
         raid-level 0
         nr-raid-disks 3
         chunk-size 32
         persistent-superblock 1
         device /dev/hdb2
         raid-disk 0
         device /dev/hdc4
         raid-disk 1
         device /dev/hdd1
         raid-disk 2

My /proc/mdstat file:

cat /proc/mdstat
Personalities : [2 raid0]
read_ahead not set
md0 : inactive
md1 : inactive
md2 : inactive
md3 : inactive

-- 



This archive was generated by hypermail 2a24 : Wed May 30 2001 - 17:03:24 MDT