All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pavel Herrmann <morpheus.ibis@gmail.com>
To: NeilBrown <neilb@suse.de>
Cc: linux-raid@vger.kernel.org
Subject: Re: data corruption after rebuild
Date: Wed, 20 Jul 2011 10:20:55 +0200	[thread overview]
Message-ID: <5631626.tuTAQthxQb@bloomfield> (raw)
In-Reply-To: <20110720162431.5df90f32@notabene.brown>

On Wednesday 20 of July 2011 16:24:31 you wrote:
> My suggestion would be to remove the drive you recently added and then see
> if the data is still corrupted.  It may not help but is probably worth a
> try.

tried that, did not help, probably due to the finished rebuild that "repaired" 
all the parity data

> There was a bug prior to 2.6.32 where RAID6 could sometimes write the wrong
> data when recovering to a spare.  It would only happen if you were accessing
> that data at the same time as it was recovery it, and if you were unlucky.

I was accessing some data (read-mostly), but now the largest undamaged file on 
the filesystem has just under 3MB - that looks a bit suspicious, as the stripe-
width is 6x 512K = 3M

> BTW the monthly scans that you do are primarily for finding sleeping bad
> blocks - blocks that you cannot read.  They do check for inconsistencies in
> the parity but only report them, it doesn't correct them.  This is because
> automatically correcting can cause more problems than it solves.
> 
> When the monthly check reported inconsistencies you "should" have confirmed
> that all the drives seem to be functioning correctly and then run a 'repair'
> pass to fix the parity blocks up.
> 
> As you didn't that bad parity would have created bad data when you
> recovered.

see the last part, at this point I would be perfectly OK with 72 damaged 
blocks, as per the last scan (or even a few hundred, for that matter)


PS: forgot to include maillist


      reply	other threads:[~2011-07-20  8:20 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-19 13:55 data corruption after rebuild Pavel Herrmann
2011-07-19 15:12 ` Roman Mamedov
2011-07-19 16:18   ` Pavel Herrmann
2011-07-19 17:38     ` Roman Mamedov
2011-07-19 17:44       ` Pavel Herrmann
2011-07-19 16:35   ` Pavel Herrmann
2011-07-19 16:48     ` Roman Mamedov
2011-07-19 17:05       ` Pavel Herrmann
2011-07-19 18:12         ` Roman Mamedov
2011-07-20  6:24 ` NeilBrown
2011-07-20  8:20   ` Pavel Herrmann [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=5631626.tuTAQthxQb@bloomfield \
    --to=morpheus.ibis@gmail.com \
    --cc=linux-raid@vger.kernel.org \
    --cc=neilb@suse.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 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.