[opensuse] MDADM - can't force build with 4 disks
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 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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
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
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@pen.homeip.net] Sent: March 29, 2007 9:30 PM To: opensuse@opensuse.org 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@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
John Andersen
-
Steve Pritchard