All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andreas Klauer <Andreas.Klauer@metamorpher.de>
To: "Thomas C. Bishop" <bishop@latech.edu>
Cc: linux-raid@vger.kernel.org
Subject: Re: raid5 messed up
Date: Sat, 2 Sep 2017 02:24:52 +0200	[thread overview]
Message-ID: <20170902002452.GA26288@metamorpher.de> (raw)
In-Reply-To: <fdbb6bf6-357c-781e-beee-d8589cbb299d@email.latech.edu>

On Fri, Sep 01, 2017 at 03:15:41PM -0500, Thomas C. Bishop wrote:
> I messed up my raid5 array .

That's an understatement...

> I know a two of HDs are "failure 
> prediction" and one is out..

RAID 5 with three failed drives, chances of survival are very low.
You should never let things get this far. Timeouts? Doesn't matter!
You either have no disk monitoring at all or never acted on it.

ddrescue the broken drives to new ones first.
Then always use overlays for recovery experiments.

https://raid.wiki.kernel.org/index.php/Recovering_a_failed_software_RAID#Making_the_harddisks_read-only_using_an_overlay_file

Experiments for example could be:

 *) --assemble --force
 *) --assemble --update=force-no-bbl
 *) --create --metadata=1.0 --chunk=128 with one 'missing' drive

Again, use overlays for everything.

>    Bad Block Log : 512 entries available at offset -8 sectors - bad 
> blocks present.

You have bbl entries on more than one drive, use --examine-badblocks 
to see if they are identical. You have to clear those or md will 
either not work at all or always give read errors even after replacing 
the drives. Bad block list issues were previously discussed on the list, 
you might find it when searching for "no-bbl".

> === START OF READ SMART DATA SECTION ===
> SMART Health Status: OK

Never trust this unconditionally. It's a false friend.
Always look at the detailed output with reallocated etc. sectors.
Run selftests regularly, detect disk errors early, replace drives immediately.

Good luck
Andreas Klauer

  parent reply	other threads:[~2017-09-02  0:24 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-01 20:15 raid5 messed up Thomas C. Bishop
2017-09-01 22:47 ` Anthony Youngman
2017-09-02  0:24 ` Andreas Klauer [this message]
2017-09-06 23:00   ` Thomas C. Bishop
2017-09-05  3:55 ` Phil Turmel
2017-09-06 23:47   ` Thomas C. Bishop
2017-09-07  0:17     ` Wols Lists
2017-09-07 13:33       ` Thomas C. Bishop
2017-09-07 15:29         ` Wols Lists
2017-09-07 15:40           ` Thomas C. Bishop
2017-09-08 20:10             ` Weedy

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=20170902002452.GA26288@metamorpher.de \
    --to=andreas.klauer@metamorpher.de \
    --cc=bishop@latech.edu \
    --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.