Hello,
I'm trying to get a raid0 array of 2 disks up and running on
a clean Mandrake 6.0 machine without much success. The OS
is on hda which is a 2.5GB IDE drive. I'm trying to set up
the array on hdc and hdd which are identical 25GB UDMA drives,
although they aren't on a controller which supports the UDMA
transfer modes.
I'm using the raidtools-0.90-4mdk package which came with
my CD release of the OS.
Here's what my /etc/raidtab file looks like:
raiddev /dev/md0
raid-level 0
nr-raid-disks 2
persistent-superblock 1
chunk-size 4
device /dev/hdc1
raid-disk 0
device /dev/hdd1
raid-disk 1
Here's what /proc/mdstat looks like:
Personalities : [2 raid0]
read_ahead not set
md0 : inactive
md1 : inactive
md2 : inactive
md3 : inactive
And here's what I see when I run mkraid and raidstart:
chips# mkraid --really-force /dev/md0
DESTROYING the contents of /dev/md0 in 5 seconds, Ctrl-C if unsure!
handling MD device /dev/md0
analyzing super-block
disk 0: /dev/hdc1, 26588488kB, raid superblock at 26588416kB
disk 1: /dev/hdd1, 26588488kB, raid superblock at 26588416kB
mkraid: aborted
chips# raidstart -a
/dev/md0: Invalid argument
I've tried using modules for the raid personalities and compiling
them into the kernel and I get the same results either way.
Also nothing seems different if I try to create a linear instead
of a raid0 array. (Actually, I don't care which I end up with.)
Most of the information I can find seems to be based on older
versions of the tools, so I haven't had much luck in getting
ideas. One recurring theme in the various documents, however,
seems to be adding a required kernel patch. Although since
I'm running a much more recent kernel and set of raidtools than
the documents describe, I don't know if I actually need a
patch or not.
If anyone can shed any light on my problem, I'd appreciate it.
The error messages I'm getting from the tools aren't really
any help.
Thanks...
- Bob