* raid1 w/ 3 active mirrors? @ 2005-05-29 19:10 Gordon Mohr (@ Bitzi) 2005-05-29 19:54 ` Michael Tokarev 0 siblings, 1 reply; 5+ messages in thread From: Gordon Mohr (@ Bitzi) @ 2005-05-29 19:10 UTC (permalink / raw) To: linux-raid 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? Thanks for any tips, - Gordon @ Bitzi ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: raid1 w/ 3 active mirrors? 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) 0 siblings, 1 reply; 5+ messages in thread From: Michael Tokarev @ 2005-05-29 19:54 UTC (permalink / raw) To: Gordon Mohr (@ Bitzi); +Cc: linux-raid 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. /mjt ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: raid1 w/ 3 active mirrors? 2005-05-29 19:54 ` Michael Tokarev @ 2005-05-29 21:03 ` Gordon Mohr (@ Bitzi) 2005-05-30 5:31 ` Laurent CARON 0 siblings, 1 reply; 5+ messages in thread From: Gordon Mohr (@ Bitzi) @ 2005-05-29 21:03 UTC (permalink / raw) To: linux-raid 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 ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: raid1 w/ 3 active mirrors? 2005-05-29 21:03 ` Gordon Mohr (@ Bitzi) @ 2005-05-30 5:31 ` Laurent CARON 2005-05-30 18:15 ` Gordon Mohr (@ Bitzi) 0 siblings, 1 reply; 5+ messages in thread From: Laurent CARON @ 2005-05-30 5:31 UTC (permalink / raw) To: Gordon Mohr (@ Bitzi); +Cc: linux-raid 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 ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: raid1 w/ 3 active mirrors? 2005-05-30 5:31 ` Laurent CARON @ 2005-05-30 18:15 ` Gordon Mohr (@ Bitzi) 0 siblings, 0 replies; 5+ messages in thread From: Gordon Mohr (@ Bitzi) @ 2005-05-30 18:15 UTC (permalink / raw) To: Laurent CARON; +Cc: linux-raid Laurent CARON wrote: > Gordon Mohr (@ Bitzi) a écrit : >> 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.) > when you create the array: > > mdadm -Cv /dev/md0 -l1 -n10 /dev/sd{a,b,c,d,e,f,g,h,i,j}1 Thanks for the tip. I'm hoping to do this to a prexisting array, so I'll probably need to use --grow rather than -C together with -n/--raid-devices, but you've pointed me in the right direction and I'll try this soon. Merci! - 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 ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-05-30 18:15 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 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 2005-05-30 18:15 ` Gordon Mohr (@ Bitzi)
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).