Re: [opensuse] MDADM - can't force build with 4 disks



On Thursday 29 March 2007, Steve Pritchard wrote:
Hello,

I'm trying to build a 4 disk ATA raid with OpenSuse 10.2. In both the Yast
module and CLI using mdadm I get the same error: invalid raid level: =raid5

My command line looks like this:
mdadm --create --force /dev/md0 --chunk=64 -l=raid5 -n=4 /dev/hde /dev/hdf
/dev/hdg /dev/hdh

Both Yast and the CLI will allow the build using 3 disks and a spare...but
--force SHOULD tell mdadm to use all disks for the array....and it does not
seem to work.

Any thoughts and ideas appreciated!

cheers,

Steve

I don't think you should need force.
But if you do, shouldn't all options follow the raid device:
mdadm --create /dev/md0 --force.....

And why try not add a -x=0 just for grins?



--
_____________________________________
John Andersen

Attachment: pgpgAZfh8YiOr.pgp
Description: PGP signature



Relevant Pages