All of lore.kernel.org
 help / color / mirror / Atom feed
* Problem creating raid10 f2 with 2 disks missing
@ 2013-03-04 19:59 Emilio Hodge
  0 siblings, 0 replies; only message in thread
From: Emilio Hodge @ 2013-03-04 19:59 UTC (permalink / raw)
  To: linux-raid@vger.kernel.org

When creating a raid 10 near with 2 copies there are 4 possibilities.

mdadm -C /dev/md/tmp -n4 -c512 -l10 -pn2 -amd missing /dev/sdb9 
/dev/sdc9 missing
mdadm -C /dev/md/tmp -n4 -c512 -l10 -pn2 -amd /dev/sda9 missing 
/dev/sdc9 missing
mdadm -C /dev/md/tmp -n4 -c512 -l10 -pn2 -amd missing /dev/sdb9 missing 
/dev/sdd9
mdadm -C /dev/md/tmp -n4 -c512 -l10 -pn2 -amd /dev/sda9 missing missing 
/dev/sdd9

When creating a raid 10 far with 2 copies only 2 possibilities work, why?
I discovered this when I failed disk 2 and 3 of a raid10 f2 and got a 
spectacular kernel oops.

root@dimmel:~# mdadm -C /dev/md/tmp -n4 -c512 -l10 -pf2 -amd /dev/sda9 
missing /dev/sdc9 missing
mdadm: /dev/sda9 appears to be part of a raid array:
     level=raid10 devices=4 ctime=Mon Mar  4 18:14:29 2013
mdadm: /dev/sdc9 appears to be part of a raid array:
     level=raid10 devices=4 ctime=Sat Mar  2 23:28:12 2013
Continue creating array? y
mdadm: Defaulting to version 1.2 metadata
mdadm: array /dev/md/tmp started.

root@dimmel:~# mdadm -C /dev/md/tmp -n4 -c512 -l10 -pf2 -amd missing 
/dev/sdb9 missing /dev/sdd9
mdadm: /dev/sdb9 appears to be part of a raid array:
     level=raid10 devices=4 ctime=Mon Mar  4 18:17:27 2013
mdadm: /dev/sdd9 appears to be part of a raid array:
     level=raid10 devices=4 ctime=Mon Mar  4 18:15:33 2013
Continue creating array? y
mdadm: Defaulting to version 1.2 metadata
mdadm: array /dev/md/tmp started.

root@dimmel:~# mdadm -C /dev/md/tmp -n4 -c512 -l10 -pf2 -amd /dev/sda9 
missing missing /dev/sdd9
mdadm: /dev/sda9 appears to be part of a raid array:
     level=raid10 devices=4 ctime=Mon Mar  4 18:15:02 2013
mdadm: /dev/sdd9 appears to be part of a raid array:
     level=raid10 devices=4 ctime=Sat Mar  2 23:28:12 2013
Continue creating array? y
mdadm: Defaulting to version 1.2 metadata
mdadm: RUN_ARRAY failed: Input/output error

root@dimmel:~# mdadm -C /dev/md/tmp -n4 -c512 -l10 -pf2 -amd missing 
/dev/sdb9 /dev/sdc9 missing
mdadm: /dev/sdb9 appears to be part of a raid array:
     level=raid10 devices=4 ctime=Mon Mar  4 18:14:29 2013
mdadm: /dev/sdc9 appears to be part of a raid array:
     level=raid10 devices=4 ctime=Mon Mar  4 18:15:02 2013
Continue creating array? y
mdadm: Defaulting to version 1.2 metadata
mdadm: RUN_ARRAY failed: Input/output error

mdadm - v3.2.5 - 18th May 2012
Linux dimmel 3.7.1 #2 SMP Thu Dec 20 21:20:41 CST 2012 x86_64 AMD 
Phenom(tm) II X4 965 Processor AuthenticAMD GNU/Linux

Emilio Hodge

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-03-04 19:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-04 19:59 Problem creating raid10 f2 with 2 disks missing Emilio Hodge

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.