All of lore.kernel.org
 help / color / mirror / Atom feed
From: Molle Bestefich <molle.bestefich@gmail.com>
To: Pallai Roland <dap@mail.index.hu>
Cc: Claas Hilbrecht
	<claas+maillinglists.linux-raid@jucs-kramkiste.de>,
	linux-raid@vger.kernel.org
Subject: Re: [PATCH] proactive raid5 disk replacement for 2.6.11
Date: Mon, 22 Aug 2005 15:55:34 +0200	[thread overview]
Message-ID: <62b0912f050822065547a70a8e@mail.gmail.com> (raw)
In-Reply-To: <1124711771.774.50.camel@localhost.localdomain>

Pallai Roland wrote:
> Molle Bestefich wrote:
> > Claas Hilbrecht wrote:
> > > Pallai Roland schrieb:
> > > >  this is a feature patch that implements 'proactive raid5 disk
> > > > replacement' (http://www.arctic.org/~dean/raid-wishlist.html),
> > >
> > > After my experience with a broken raid5 (read the list) I think the
> > > "partially failed disks" feature you describe is really useful. I agree
> > > with you that this kind of error is rather common.
> >
> > Horrible idea.
> > Once you have a bad block on one disk, you have definitively lost your
> > data redundancy.
> > That's bad.
>
>  Hm, I think you don't understand the point, yes, that should be
> replaced as soon as you can, but the good sectors of that drive can be
> useful if some bad sectors are discovered on an another drive during the
> rebuilding. we must keep that drive in sync to keep that sectors useful,
> this is why the badblock tolerance is.

Ok, I misunderstood you.  Sorry, and thanks for the explanation.

>  It is the common error if you've lot of disks and can't do daily media
> checks because of the IO load.

Agreed.

> > What should be done about bad blocks instead of your suggestion is to
> > try and write the data back to the bad block before kicking the disk.
> > If this succeeds, and the data can then be read from the failed block,
> > the disk has automatically reassigned the sector to the spare sector
> > area.  You have redundancy again and the bad sector is "fixed".
> >
> > If you're having a lot of problems with disks getting kicked because
> > of bad blocks, then you need to diagnose some more to find out what
> > the actual problem is.
> >
> > My best guess would be that either you're using an old version of MD
> > that won't try to write to bad blocks, or the spare area on your disk
> > is full, in which case it should be replaced.  You can check the
> > status of spare areas on disks with 'smartctl' or similar.
>
>  Which version of md tries to rewrite bad blocks in raid5?

Haven't followed the discussions closely, but I sure hope that the
newest version does.  (After all, spare areas are a somewhat old
feature in harddrives..)

>  I've problem with "hidden" bad blocks (never mind if that's repairable
> or not), the rewrite can't help, cause you don't know if that's there
> until you don't try to rebuild the array from degraded state to a
> replaced disk. I want to avoid from the rebuiling from degraded state,
> this is why the 'proactive replacement' feature is.

Got it now.  Super.  Sounds good ;-).
(I hope that you're simply rebuilding to a spare before kicking the
drive, not doing something funky like remapping sectors or some
such..)

  reply	other threads:[~2005-08-22 13:55 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-14 20:10 [PATCH] proactive raid5 disk replacement for 2.6.11 Pallai Roland
2005-08-14 21:29 ` [PATCH] proactive raid5 disk replacement for 2.6.11 [fixed patch] Pallai Roland
2005-08-15  6:45 ` [PATCH] proactive raid5 disk replacement for 2.6.11 Claas Hilbrecht
2005-08-15 11:29 ` Mario 'BitKoenig' Holbe
2005-08-15 13:50   ` Pallai Roland
     [not found] ` <C0A1E607B5206F88D89CAF42@192.168.1.22>
2005-08-22 10:47   ` Molle Bestefich
2005-08-22 11:56     ` Pallai Roland
2005-08-22 13:55       ` Molle Bestefich [this message]
2005-08-28 23:35         ` 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=62b0912f050822065547a70a8e@mail.gmail.com \
    --to=molle.bestefich@gmail.com \
    --cc=claas+maillinglists.linux-raid@jucs-kramkiste.de \
    --cc=dap@mail.index.hu \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.