Ingo's RAID patch (the 0.90 series) doesn't list unused md devices
in /proc/mdstat, only active ones.
Getting the "bad argument" error seems to be a default error
message for mkraid, I'm not sure of the complete list of conditions that
can cause it. The simplest would be that there is a typo or other error
in the /dev/md0 section of your /etc/raidtab.
Here is the top section of my raidtab file for a large RAID-5:
raiddev /dev/md0
raid-level 5
nr-raid-disks 7
nr-spare-disks 1
chunk-size 256
parity-algorithm left-symmetric
persistent-superblock 1
The device listings follow in order of raid-disks, then followed by the
spare-disk.
Hope the (partial) information helps you.
-Nic Benders
On Thu, 27 Jul 2000 [EMAIL PROTECTED] wrote:
> Hi!
>
> I've applied the raid-0.90-2.2.16-A0 patch to a 2.2.16 kernel and compiled
> with multiple disk, autodetect, and raid1 support in kernel.
>
> When I boot from this kernel, everything appear to be fine, except that no
> devices (not even inactive ones) are listed in /proc/mdstat, although
> /proc/mdstat exists. I can't create md arrays, as the utilities say that
> /dev/md0 is a bad argument.
>
> Am I missing something obvious here? Why don't md1-4 show up in
> /proc/mdstat, as shown in the HOWTOs?
>
> Any help would be appreciated.
>
> Thanks!
> S. Shore
>