Mailinglist Archive: opensuse (2999 mails)

< Previous Next >
[opensuse] RE: MDADM - can't force build with 4 disks
  • From: "Steve Pritchard" <sysadmin@xxxxxxxx>
  • Date: Sun, 1 Apr 2007 08:59:46 -0700
  • Message-id: <00fb01c77476$c51b92b0$6401a8c0@xxxxxxxxxx>
Thanks John! Still no go....sigh.

Ran the following line...still errors on 'invalid raid level =5' 
mdadm --create /dev/md0 --force --chunk=64 -l=5 -n=4 -x=0 /dev/hde /dev/hdf
/dev/hdg /dev/hdh

Perhaps Suse tweaked the mdadm to force a spare drive? Seems the only way it
accepts Raid 5. I'll have to go with that for now I guess.

Thanks for the response and the help!

Steve

-----Original Message-----
From: John Andersen [mailto:jsa@xxxxxxxxxxxxxx] ;
Sent: March 29, 2007 9:30 PM
To: opensuse@xxxxxxxxxxxx
Subject: 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

Also Steve, try just 5 instead of raid5.  Both should work, but who knows.

-- 
_____________________________________
John Andersen

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages