linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Laurent CARON <lcaron@apartia.fr>
To: "Gordon Mohr (@ Bitzi)" <gojomo@bitzi.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: raid1 w/ 3 active mirrors?
Date: Mon, 30 May 2005 07:31:28 +0200	[thread overview]
Message-ID: <429AA530.2040702@apartia.fr> (raw)
In-Reply-To: <429A2E11.2070002@bitzi.com>

Gordon Mohr (@ Bitzi) a écrit :

> Michael Tokarev wrote:
>
>> Gordon Mohr (@ Bitzi) wrote:
>>
>>> I may have missed this is various docs, but is there any way to make
>>> a raid1 array which has 3 (or more) active mirrors, rather than 2 
>>> mirrors
>>> and spares?
>>
>>
>>
>> On our machines with software raid, I usually use all available disks to
>> create (small) root filesystem on raid1 - which is 2, 3, 4, 5, or even 8
>> on one machine.  There's no special restriction on number of mirrors in
>> a raid1 set.  You create raid1 array on top of N disks exactly the same
>> as you create it on 2 disks.
>
>
> How do you make all the disks active mirrors? When I add a third 
> partition
> to an functioning RAID1 array (mdadm -a), it always enters as a 
> 'spare'. Only
> after another disk fails out will it be brought into sync with the 
> remaining
> active partition.
>
> (I'd like the third partition to be brought into sync, and kept in sync,
> with the other two immediately, so that a fail does not trigger any
> flurry of activity.)
>
> Thanks,
>
> - Gordon @ Bitzi
> -
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

when you create the array:

mdadm -Cv /dev/md0 -l1 -n10 /dev/sd{a,b,c,d,e,f,g,h,i,j}1

-- 
La morale c'est l'ensemble des règles que l'on trouve excellentes pour
autrui et inutile pour soi.
	-+- Voltaire -+-

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2005-05-30  5:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-29 19:10 raid1 w/ 3 active mirrors? Gordon Mohr (@ Bitzi)
2005-05-29 19:54 ` Michael Tokarev
2005-05-29 21:03   ` Gordon Mohr (@ Bitzi)
2005-05-30  5:31     ` Laurent CARON [this message]
2005-05-30 18:15       ` Gordon Mohr (@ Bitzi)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=429AA530.2040702@apartia.fr \
    --to=lcaron@apartia.fr \
    --cc=gojomo@bitzi.com \
    --cc=linux-raid@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).