From: Michal Soltys <soltys@ziu.info>
To: Justin Piszcz <jpiszcz@lucidpixels.com>
Cc: Redeeman <redeeman@metanurb.dk>, linux-raid@vger.kernel.org
Subject: Re: time limited error recovery and md raid
Date: Sat, 06 Dec 2008 11:32:23 +0100 [thread overview]
Message-ID: <493A54B7.7070805@ziu.info> (raw)
In-Reply-To: <alpine.DEB.1.10.0812051609070.17806@p34.internal.lan>
Justin Piszcz wrote:
>
>> when tler is on, why does linux not attempt to remap the sector?
> See my earlier posts on this question from last week. It would need a
> metadata section on each HDD to keep track of the bad sectors before it
> writes to the drives, a 3ware card will do this for you-- however,
> typically, (having run md/linux) for a number of years is not
> super-necessary if you run checks on your disks once a week *AND* you
> have good drives that don't have problems.
>
From what I know, md does attempt to repair read errors (but not other
ones though) with rewrite, and only if it fails, it will kick the drive
out of the array. In case of 1.x superblocks, the count of repaired (+
ones not causing drive to be kicked off) sectors will be preserved
across reboots as well (check Documentation/md.txt). Peeking over the
code seems to confirm it as well.
It was on Neil's todo list, and it got implemented a while ago, afaik.
There was a short discussion on smartmon mailing list recently:
http://sourceforge.net/mailarchive/forum.php?thread_name=VA.00003465.16ed4a93%40news.conactive.com&forum_name=smartmontools-support
There was no 100% answer there either though.
Neil ?
next prev parent reply other threads:[~2008-12-06 10:32 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-05 20:57 time limited error recovery and md raid Redeeman
2008-12-05 21:01 ` Justin Piszcz
2008-12-05 21:07 ` Redeeman
2008-12-05 21:12 ` Justin Piszcz
2008-12-05 21:18 ` Redeeman
2008-12-05 21:21 ` Justin Piszcz
2008-12-05 21:31 ` Redeeman
2008-12-05 21:42 ` Justin Piszcz
2008-12-05 22:09 ` Redeeman
2008-12-05 23:52 ` Justin Piszcz
2008-12-06 2:59 ` Redeeman
2008-12-06 9:23 ` Justin Piszcz
2008-12-06 14:33 ` Redeeman
2008-12-06 9:14 ` David Greaves
2008-12-06 9:59 ` Justin Piszcz
2008-12-06 10:32 ` Michal Soltys [this message]
2008-12-06 10:53 ` Justin Piszcz
2008-12-05 23:04 ` Redeeman
2008-12-05 23:52 ` Justin Piszcz
2008-12-06 0:42 ` Roger Heflin
2008-12-08 16:59 ` Redeeman
2008-12-08 17:01 ` Justin Piszcz
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=493A54B7.7070805@ziu.info \
--to=soltys@ziu.info \
--cc=jpiszcz@lucidpixels.com \
--cc=linux-raid@vger.kernel.org \
--cc=redeeman@metanurb.dk \
/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;
as well as URLs for NNTP newsgroup(s).