From: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
To: Dan Williams <dan.j.williams@gmail.com>
Cc: CoolCold <coolthecold@gmail.com>,
Linux RAID <linux-raid@vger.kernel.org>
Subject: Re: write-refresh md array (feature request)
Date: Wed, 11 Sep 2013 17:15:50 -0300 [thread overview]
Message-ID: <20130911201550.GA15507@khazad-dum.debian.net> (raw)
In-Reply-To: <CAA9_cmfFSM8v-xEBHdVXuGXcRUcWa6qcHrdwjUqECSsKnY2t5Q@mail.gmail.com>
On Wed, 11 Sep 2013, Dan Williams wrote:
> On Wed, Sep 11, 2013 at 5:37 AM, Henrique de Moraes Holschuh
> <hmh@hmh.eng.br> wrote:
> > On Wed, 11 Sep 2013, CoolCold wrote:
> >> You can achieve this with a bit inderect way - there are sync_min and
> >> sync_max params which can be used to operate on certain borders of array,
> >> more info
> >> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/md.txt?id=refs/tags/v3.11#n579.
> >
> > Doesn't do anything close to what I requested. Neither check nor repair
> > will re-write sectors that appear to be good (and are actually returning the
> > correct data after ECC correction by the component device, but will
> > eventually fail if not rewritten to soon).
>
> Sounds like a modification of the "replace" code to allow replacing
> the with self-same drive. Something like "want_refresh" would mark the
That would do it, if the system considers that the component device is still
valid while it is being replaced in-place with itself :)
> drive as a soft replacement to mark that slot to be re-written. But
> if the drive is expected to be "weak" you could just rotate in a spare
> drive without degrading the array with the existing code.
Well, that requires a spare device, which is often not the case in small
setups (which are the ones more likely to be using md raid with SATA,
instead of SAS).
Although I really don't know if SAS nearline devices are any better than the
current crop of untrustworthy crap that passes for SATA HDDs.
--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh
prev parent reply other threads:[~2013-09-11 20:15 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-10 18:19 write-refresh md array (feature request) Henrique de Moraes Holschuh
2013-09-11 1:25 ` Dan Williams
2013-09-11 12:32 ` Henrique de Moraes Holschuh
2013-09-11 23:05 ` NeilBrown
2013-09-11 6:41 ` CoolCold
[not found] ` <CAGqmV7ph6JF1cVQwBt-FrzToThMC+gbfPMj3V5EFqbtoOFuFHQ@mail.gmail.com>
2013-09-11 12:37 ` Henrique de Moraes Holschuh
2013-09-11 20:00 ` Dan Williams
2013-09-11 20:15 ` Henrique de Moraes Holschuh [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=20130911201550.GA15507@khazad-dum.debian.net \
--to=hmh@hmh.eng.br \
--cc=coolthecold@gmail.com \
--cc=dan.j.williams@gmail.com \
--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