All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anthony Youngman <antlists@youngman.org.uk>
To: Curt <lightspd@gmail.com>
Cc: Joe Landman <joe.landman@gmail.com>, linux-raid@vger.kernel.org
Subject: Re: hung grow
Date: Wed, 4 Oct 2017 20:46:22 +0100	[thread overview]
Message-ID: <3173c10a-fbd9-f563-4c90-a9f63e020773@youngman.org.uk> (raw)
In-Reply-To: <CADg2FGaNtjN7=wYe6f07xEZ=mW2QFZdjtBFjQLDthn9w3Jw=NA@mail.gmail.com>

On 04/10/17 20:09, Curt wrote:
> Ok, thanks.
> 
> I'm pretty sure I'll be able to DD from at least one of the failed
> drives, as I could still query them before I yanked them.  Assuming I
> can DD one of the old drives to one of my new ones.
> 
> I'd DDrescue old to new drive. Then do an assemble for force, with a
> mix of the dd drives and my old good ones? So if sda/b are new DD'd
> drives and sdc/d/e are hosed grow drives, I'd do an assemble force
> revert-reshape /dev/md127 sda sdb sdc sdd and sde? Then assemble can
> use my info from the DD drives to assemble the array back to 7 drives?
>   Did I understand that right?

This sounds like you need to take a great big step backwards, and make 
sure you understand EXACTLY what is going on. We have a mix of good 
drives, copies of bad drives, and an array that doesn't know whether it 
is supposed to have 7 or 9 drives. One wrong step and your array will be 
toast.

You want ALL FOUR KNOWN GOOD DRIVES. You want JUST ONE ddrescue'd drive.

But I think the first thing we need to do, is to wait for an expert like 
Phil to chime in and sort out that reshape. Your four good drives all 
think they are part of a 9-drive array. Your first two drives to fail 
think they are part of a 7-drive array. Does the third drive think it's 
part of a 7-drive or 9-drive array?

Can you do a --examine on this drive? I suspect the grow blew up because 
it couldn't access this drive. I this drive thinks it is part of a 
7-drive array, we have a bit of a problem on our hands.

I'm hoping it thinks it's part of a 9-drive array - I think we may be 
able to get out of this ...
> 
> Oh and how can I tell if I have a timeout mismatch.  They should be raid drives.

smartctl -x /dev/sdX

This will give you both the sort of drive you have - yes if it's in a 
datacentre chances are it is a raid drive - and then search the output 
for Error Recovery Control. This is from my hard drive...

SCT capabilities:              (0x003f) SCT Status supported.
                                         SCT Error Recovery Control 
supported.
                                         SCT Feature Control supported.
                                         SCT Data Table supported.

You need error recovery to be supported. If it isn't ...

> 
> Cheers,
> Curt

Cheers,
Wol

  reply	other threads:[~2017-10-04 19:46 UTC|newest]

Thread overview: 59+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-04 17:18 hung grow Curt
2017-10-04 17:51 ` Anthony Youngman
2017-10-04 18:16   ` Curt
2017-10-04 18:29     ` Joe Landman
2017-10-04 18:37       ` Curt
2017-10-04 18:44         ` Joe Landman
2017-10-04 19:01           ` Anthony Youngman
2017-10-04 19:09             ` Curt
2017-10-04 19:46               ` Anthony Youngman [this message]
2017-10-04 20:01                 ` Curt
2017-10-04 21:08                   ` Anthony Youngman
2017-10-04 21:53                     ` Phil Turmel
     [not found]                       ` <CADg2FGbnMzLBqWthKY5Uo__ANC2kAqH_8B1G23nhW+7hWJ=KeA@mail.gmail.com>
2017-10-06  1:25                         ` Curt
2017-10-06 11:16                           ` Wols Lists
     [not found]                         ` <CADg2FGYc-sPjwukuhonoUUCr3ze3PQWv8gtZPnUT=E4CvsQftg@mail.gmail.com>
2017-10-06 13:13                           ` Phil Turmel
2017-10-06 14:07                             ` Curt
2017-10-06 14:27                               ` Joe Landman
2017-10-06 14:27                               ` Phil Turmel
2017-10-07  3:09                                 ` Curt
2017-10-07  3:15                                   ` Curt
2017-10-07 20:45                                     ` Curt
2017-10-07 21:29                                       ` Phil Turmel
2017-10-08 22:40                                         ` Curt
2017-10-09  1:23                                           ` NeilBrown
2017-10-09  1:40                                             ` Curt
2017-10-09  4:28                                               ` NeilBrown
2017-10-09  4:59                                                 ` Curt
2017-10-09  5:47                                                   ` NeilBrown
2017-10-09 12:41                                                 ` Curt
2017-10-10 12:08                                                   ` Curt
2017-10-10 13:06                                                     ` Phil Turmel
2017-10-10 13:37                                                       ` Anthony Youngman
2017-10-10 14:00                                                         ` Phil Turmel
2017-10-10 14:11                                                           ` Curt
2017-10-10 14:14                                                             ` Reindl Harald
2017-10-10 14:15                                                             ` Phil Turmel
2017-10-10 14:23                                                               ` Curt
2017-10-10 18:06                                                                 ` Phil Turmel
2017-10-10 19:25                                                                   ` Curt
2017-10-10 19:42                                                                     ` Phil Turmel
2017-10-10 19:49                                                                       ` Curt
2017-10-10 19:51                                                                         ` Curt
2017-10-10 20:18                                                                           ` Phil Turmel
2017-10-10 20:29                                                                             ` Curt
2017-10-10 20:31                                                                               ` Phil Turmel
2017-10-10 20:48                                                                                 ` Curt
2017-10-10 20:47                                                                     ` NeilBrown
2017-10-10 20:58                                                                       ` Curt
2017-10-10 21:23                                                                         ` Curt
2017-10-10 21:56                                                                           ` NeilBrown
2017-10-11  0:26                                                                             ` Curt
2017-10-11  4:46                                                                               ` NeilBrown
2017-10-11  2:20                                                                       ` Curt
2017-10-11  4:49                                                                         ` NeilBrown
2017-10-11 15:38                                                                           ` Curt
2017-10-12  6:15                                                                             ` NeilBrown
2017-10-10 14:12                                                           ` Anthony Youngman
2017-10-04 19:06         ` Anthony Youngman
2017-10-04 18:57     ` Anthony Youngman

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=3173c10a-fbd9-f563-4c90-a9f63e020773@youngman.org.uk \
    --to=antlists@youngman.org.uk \
    --cc=joe.landman@gmail.com \
    --cc=lightspd@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 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.