From: Dan Williams <dan.j.williams@gmail.com>
To: Patrick Ringl <patrick_@freenet.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6.29 - raid10 issue - spares do not get synched automatically
Date: Sat, 28 Mar 2009 17:43:18 -0700 [thread overview]
Message-ID: <e9c3a7c20903281743o2b9f7aa5yc60a330fee6de2ba@mail.gmail.com> (raw)
In-Reply-To: <49CE102C.604@freenet.de>
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
prev parent reply other threads:[~2009-03-29 0:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-28 11:55 Patrick Ringl
2009-03-29 0:43 ` Dan Williams [this message]
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=e9c3a7c20903281743o2b9f7aa5yc60a330fee6de2ba@mail.gmail.com \
--to=dan.j.williams@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=patrick_@freenet.de \
/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
all inboxes | Powered by JetHome®