* 2.6.29 - raid10 issue - spares do not get synched automatically
@ 2009-03-28 11:55 Patrick Ringl
2009-03-29 0:43 ` Dan Williams
0 siblings, 1 reply; 2+ messages in thread
From: Patrick Ringl @ 2009-03-28 11:55 UTC (permalink / raw)
To: linux-kernel
Hello,
I am using 2.6.29 on a debian lenny. Anyway, I am having problems with a
raid10 sandbox setup consisting of 4 loopback devices. To make a long
story short:
I created a raid10 array with all these 4 devices (loop0-loop3)
then I set two devices faulty, removed them .. checked if I can still
write to the array (which I could, so I/O errors, nothing in dmesg):
BUT - here it comes: once I am trying to (re)add them (I zero'ed the
superblock before) they're only getting added as spares and the array
will not sync.
Here's the logfile with mdadm -D /dev/md0 in between so one can see what
is going on:
http://paste.debian.net/31758/
Any ideas?
PS: Please CC to me since I am not subscribed.
regards,
Patrick
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: 2.6.29 - raid10 issue - spares do not get synched automatically
2009-03-28 11:55 2.6.29 - raid10 issue - spares do not get synched automatically Patrick Ringl
@ 2009-03-29 0:43 ` Dan Williams
0 siblings, 0 replies; 2+ messages in thread
From: Dan Williams @ 2009-03-29 0:43 UTC (permalink / raw)
To: Patrick Ringl; +Cc: linux-kernel
On Sat, Mar 28, 2009 at 4:55 AM, Patrick Ringl <patrick_@freenet.de> wrote:
> Hello,
>
> I am using 2.6.29 on a debian lenny. Anyway, I am having problems with a
> raid10 sandbox setup consisting of 4 loopback devices. To make a long story
> short:
>
> I created a raid10 array with all these 4 devices (loop0-loop3)
> then I set two devices faulty, removed them .. checked if I can still write
> to the array (which I could, so I/O errors, nothing in dmesg):
>
> BUT - here it comes: once I am trying to (re)add them (I zero'ed the
> superblock before) they're only getting added as spares and the array will
> not sync.
>
> Here's the logfile with mdadm -D /dev/md0 in between so one can see what is
> going on:
>
> http://paste.debian.net/31758/
>
>
> Any ideas?
You failed the whole array. With 4 devices in the default layout the
array looks like stripe(mirror(slot0, slot1), mirror(slot2, slot3)).
In your case mdadm -D shows that you have the loop devices in the
following slots stripe(mirror(loop2, loop0), mirror(loop1, 3)). A
raid10 is failed once all devices in a mirror set are failed, and a
failed array can't be rebuilt.
Regards,
Dan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-03-29 0:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-28 11:55 2.6.29 - raid10 issue - spares do not get synched automatically Patrick Ringl
2009-03-29 0:43 ` Dan Williams
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox