From: Guoqing Jiang <gqjiang@suse.com>
To: Anthony DeRobertis <anthony@derobert.net>,
linux-raid@vger.kernel.org, 837964@bugs.debian.org
Subject: Re: 95a05b3 broke mdadm --add on my superblock 1.0 array
Date: Tue, 20 Sep 2016 05:36:17 -0400 [thread overview]
Message-ID: <57E10311.7040601@suse.com> (raw)
In-Reply-To: <63417807-ae42-ed60-8c8b-3b699994c34c@derobert.net>
On 09/20/2016 03:02 AM, Anthony DeRobertis wrote:
> On 09/20/2016 01:38 AM, Guoqing Jiang wrote:
>>
>> Thanks for report, could you try the latest tree
>> git://git.kernel.org/pub/scm/utils/mdadm/mdadm.git?
>> I guess 45a87c2f31335a759190dff663a881bc78ca5443 should resolve it ,
>> and I can add a spare disk
>> to native raid (internal bitmap) with different metadatas (0.9, 1.0
>> to 1.2).
>
> (please keep me cc'd, I'm not subscribed)
>
> $ git rev-parse --short HEAD
> 676e87a
> $ make -j4
> ...
>
> # ./mdadm -a /dev/md/pv0 /dev/sdc3
> mdadm: add new device failed for /dev/sdc3 as 8: Invalid argument
>
> [375036.613907] md: sdc3 does not have a valid v1.0 superblock, not
> importing!
> [375036.613926] md: md_import_device returned -22
The md-cluster code should only work raid1 with 1.2 metadata, and your
array (/dev/md/pv0) is raid10 with
1.0 metadata (if I read bug correctly), so it is weird that your array
can invoke the code for md-cluster.
I assume it only happens with existed array, a new created one doesn't
have the problem, right? And I can't
reproduce it from my side.
Which kernel version are you used to created the array in case the
kernel was updated? Also pls show the
output of "mdadm -X $DISK", and your bitmap is a little weird (but I
don't try with 10 level before, so maybe
it is correct).
Internal Bitmap : -234 sectors from superblock
Thanks,
Guoqing
next prev parent reply other threads:[~2016-09-20 9:36 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-19 16:32 Bug#837964: 95a05b3 broke mdadm --add on my superblock 1.0 array Anthony DeRobertis
2016-09-20 5:38 ` Guoqing Jiang
2016-09-20 7:02 ` Anthony DeRobertis
2016-09-20 9:36 ` Guoqing Jiang [this message]
2016-09-20 17:12 ` Anthony DeRobertis
2016-09-21 6:40 ` Guoqing Jiang
2016-09-20 17:52 ` Anthony DeRobertis
2016-09-20 18:31 ` Anthony DeRobertis
2016-09-21 6:45 ` Guoqing Jiang
2016-09-22 2:40 ` Guoqing Jiang
2016-09-22 16:53 ` Anthony DeRobertis
2016-10-06 1:26 ` Bug#837964: " NeilBrown
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=57E10311.7040601@suse.com \
--to=gqjiang@suse.com \
--cc=837964@bugs.debian.org \
--cc=anthony@derobert.net \
--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.