All of lore.kernel.org
 help / color / mirror / Atom feed
From: NeilBrown <neilb@suse.com>
To: Curt <lightspd@gmail.com>
Cc: Phil Turmel <philip@turmel.org>, linux-raid@vger.kernel.org
Subject: Re: hung grow
Date: Mon, 09 Oct 2017 15:28:03 +1100	[thread overview]
Message-ID: <87d15xymgc.fsf@notabene.neil.brown.name> (raw)
In-Reply-To: <CADg2FGaeuptaWRnM5+Z_aAR08vG-311s8p6OrBwZUNeCrNGu1g@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2136 bytes --]

On Sun, Oct 08 2017, Curt wrote:

>> You get this because sdf1 says:
>>
>>    Raid Devices : 7
>>   Total Devices : 7
>>
>> while sda1 (for example) says:
>>
>>    Raid Devices : 8
>>   Total Devices : 6
>> Preferred Minor : 127
>>
>>   Reshape pos'n : 3799296 (3.62 GiB 3.89 GB)
>>   Delta Devices : 1 (7->8)
>>
>> mdadm cannot reconcile this difference.
>>
>> It appears that sdf1 was never involved in any reshape.
>> So you need to revert the reshape before trying to include sdf1 into the
>> array.  Clearly you need at least 6 devices that were involved in
>> the reshape to do this.
>> I haven't been following closely ... do you have 6 such devices?
>>
>> NeilBrown
>>
>
> Correct.  Which I thought was sorta the point, but could have
> completely misunderstood it, sdf was restored from a "faulty" drive
> that was out before the reshape.  Whether I have 6 devices depends on
> how picky things are.  I've got 5 that should be in sync, the 6th not,
> but it was involved in the reshape.
>
> Short version, is I shot myself in the foot on this one. Reshape never
> got anywhere, but need to try to revert and save what data I can.

Hmmm... (goes back and looks at more of thread..)

Ahhh .. you had an array which was rebuilding two spares, and you
told it to start reshaping... Interesting.
Theoretically that should work.  Was it deliberate? (I cannot seem to
find the start of the thread).

Looking at the list of "current --examine output", it appears that
 /dev/sdg1
 /dev/sdd1
 /dev/sdc1
 /dev/sda1
 /dev/sde1

 /dev/sdb

are all valid devices with the same event counts.  They are the six that
you need.
To confirm that names haven't changed, you can:
  mdadm --examine  /dev/sdg1 /dev/sdd1 /dev/sdc1 /dev/sda1 /dev/sde1 \
  /dev/sdb | grep Events

and confirm all the numbers are the same.
Then do the same and grep for "this" and confirm all the Raid Disk
numbers are different.

Interesting that /dev/sdb is a whole device and the rest are partitions.
I assume you know about that and why it is.

What happens if you run the --assemble --update=revert-reshape command on
these 6 devices (without --force)??

NeilBrown

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

  reply	other threads:[~2017-10-09  4:28 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
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 [this message]
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=87d15xymgc.fsf@notabene.neil.brown.name \
    --to=neilb@suse.com \
    --cc=lightspd@gmail.com \
    --cc=linux-raid@vger.kernel.org \
    --cc=philip@turmel.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.