From: Phil Turmel <philip@turmel.org>
To: Mathias Mueller <raidfail@gmx.de>
Cc: Linux raid <linux-raid@vger.kernel.org>
Subject: Re: broken raid level 5 array caused by user error
Date: Tue, 10 Nov 2015 10:28:52 -0500 [thread overview]
Message-ID: <56420D34.5070204@turmel.org> (raw)
In-Reply-To: <63e6dd8089ebeabf27e3419255e29958@pingofdeath.de>
On 11/10/2015 10:20 AM, Mathias Mueller wrote:
> Hi Phil,
>
> Is it correct to use --data-offset=1024 when I want to set an offset of
> 2048? At least a mdadm --examine on one of the devices shows the offset
> is set to 2048 when using --data-offset=1024.
This must be a bug in an old mdadm. Don't use it.
> With --data-offset=1024 and both chunk sizes (64 & 512) I have something
> like a success when using this two orders:
>
> sde sdd sdb sdc
> sde sdb sdd sdc
>
> I'm getting:
>
> e2fsck 1.41.12 (17-May-2010)
> /dev/md0 has unsupported feature(s): FEATURE_C16 FEATURE_C17 FEATURE_C18
> FEATURE_C19 FEATURE_C21 FEATURE_C22 FEATURE_C23 FEATURE_C25 FEATURE_C27
> FEATURE_C28 FEATURE_I29 FEATURE_R29
> e2fsck: Get a newer version of e2fsck!
>
> So I guess I should try some newer fsck version (I'm back on the old
> machine with centos 6, the failed reshaping was done with the new
> machine with centos 7).
Whoa! Don't do that. Upgrade to CentOS 7, or go back to the other
machine. You didn't mention switching machines, btw. That would
explain the different drive names vs. roles. You need to document the
device names vs. drive serial numbers on the current setup before moving
or upgrading. Then adjust the names worked out above based on the
serial numbers in the new environment.
In general, device names cannot be considered reliable -- that's why
labels and uuids are the preferred way to identify things in today's
systems. And why mdadm has superblocks to keep track of what's what.
And when you have your system fully running again, document the entire
layout with lsdrv [1].
Phil
[1] https://github.com/pturmel/lsdrv
next prev parent reply other threads:[~2015-11-10 15:28 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-09 11:27 broken raid level 5 array caused by user error Mathias Mueller
2015-11-09 11:56 ` Mikael Abrahamsson
2015-11-09 13:50 ` Phil Turmel
[not found] ` <07de4cd96f39ecb6154794d072ca12e7@pingofdeath.de>
[not found] ` <5640B8AD.3030800@turmel.org>
2015-11-09 15:41 ` Mathias Mueller
[not found] ` <d764bf541381927fa4183c9266fb3f5a@pingofdeath.de>
[not found] ` <5640C38B.4060503@turmel.org>
[not found] ` <a3a91665c4b7cdd70dacc7d8815cc365@pingofdeath.de>
2015-11-09 21:13 ` Phil Turmel
2015-11-10 8:37 ` Mathias Mueller
2015-11-10 13:55 ` Phil Turmel
2015-11-10 14:55 ` Mathias Mueller
2015-11-10 15:20 ` Mathias Mueller
2015-11-10 15:28 ` Phil Turmel [this message]
2015-11-10 21:02 ` Mathias Mueller
2015-11-10 21:11 ` Phil Turmel
-- strict thread matches above, loose matches on Subject: below --
2015-11-10 21:33 Mathias Mueller
2015-11-10 21:41 ` Phil Turmel
2015-11-10 23:47 ` Mathias Mueller
2015-11-10 23:59 ` Phil Turmel
[not found] ` <b0cdddd4394bbc1356980bb61ac199c3@pingofdeath.de>
2015-11-11 1:00 ` Phil Turmel
2015-11-11 17:53 ` Mathias Mueller
2016-01-18 15:33 ` Mathias Mueller
2016-01-18 19:09 ` Phil Turmel
2016-01-19 14:35 ` Mathias Mueller
2016-01-19 17:51 ` Phil Turmel
2016-01-19 19:37 ` Phil Turmel
2016-01-20 9:04 ` Mathias Mueller
2016-01-22 9:30 ` Mathias Mueller
2016-01-22 17:16 ` Phil Turmel
2016-01-22 17:39 ` Mathias Mueller
2016-01-22 19:13 ` Phil Turmel
2016-01-25 10:02 ` Mathias Mueller
2015-11-11 1:03 ` Phil Turmel
2015-11-11 1:29 ` Mathias Mueller
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=56420D34.5070204@turmel.org \
--to=philip@turmel.org \
--cc=linux-raid@vger.kernel.org \
--cc=raidfail@gmx.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.