[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Cannot create raid5 with 4 disks corectly

Hello there,

On Sat, Dec 04, 2010 at 01:56:36PM +0100, Reiner Buehl wrote:
> I would like to create another RAID5 array consisting of 4 2TB
> disks. When creating the array with
>     /sbin/mdadm --create --verbose /dev/md5 --level=5
> --raid-devices=4 /dev/sdm1 /dev/sdn1 /dev/sdo1 /dev/sdp1
> the array is created but with one failed disk and a spare instead of
> 4 working disks:
> [...]
> Any ideas how I can fix this?

Please see the manpage:

| fe@host:~$ man mdadm | grep 'creating a RAID5' -A4
|        When creating a RAID5 array, mdadm will automatically create a degraded
|        array  with  an  extra spare drive.  This is because building the spare
|        into a degraded array is in general faster than resyncing the parity on
|        a  non-degraded,  but not clean, array.  This feature can be overridden
|        with the --force option.


Attachment: signature.asc
Description: Digital signature

Reply to: