From: Neil Brown <neilb@suse.de>
To: Jon Nelson <jnelson-linux-raid@jamponi.net>
Cc: LinuxRaid <linux-raid@vger.kernel.org>
Subject: Re: raid1 + 2.6.27.7 issues
Date: Tue, 10 Feb 2009 09:17:14 +1100 [thread overview]
Message-ID: <18832.43882.839120.846061@notabene.brown> (raw)
In-Reply-To: message from Jon Nelson on Monday February 9
On Monday February 9, jnelson-linux-raid@jamponi.net wrote:
>
>
>
> The typical use case for me is this: I will run the array (/dev/md11) in
> degraded mode (without /dev/nbd0) for a week or so.
> At some point, I will try to synchronize the underlying devices. To do this
> I use:
>
> mdadm /dev/md11 --re-add /dev/nbd0
>
> The issues I encounter are this: the array goes into *recovery* mode rather
> than *resync*, despite the fact that /dev/nbd0 was at one point a full
> member (in sync) of the array. Typically, less than 1/3 of the array needs
> to be resynchronized, often much less than that.
I've managed to reproduce this.
If you fail the write-mostly device when the array is 'clean' (as
reported by --examine), it works as expected.
If you fail it when the array is 'active', you get the full recovery.
The array is 'active' if there have been any writes in the last 200
msecs, and clean otherwise.
I'll have to have a bit of a think about this and figure out where
what the correct fix is. Nag me if you haven't heard anything by the
end of the week.
Thanks,
NeilBrown
next prev parent reply other threads:[~2009-02-09 22:17 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-09 16:36 raid1 + 2.6.27.7 issues Jon Nelson
2009-02-09 16:47 ` Iain Rauch
2009-02-09 16:59 ` Ray Van Dolson
2009-02-09 17:49 ` Jon Nelson
2009-02-09 17:53 ` Ray Van Dolson
2009-02-09 18:13 ` Jon Nelson
[not found] ` <4990843B.7010708@tmr.com>
2009-02-09 20:56 ` Jon Nelson
2009-02-09 17:25 ` Jon Nelson
2009-02-09 22:17 ` Neil Brown [this message]
2009-02-10 0:07 ` Jon Nelson
2009-02-11 5:06 ` Neil Brown
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=18832.43882.839120.846061@notabene.brown \
--to=neilb@suse.de \
--cc=jnelson-linux-raid@jamponi.net \
--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