From: Phil Turmel <philip@turmel.org>
To: Drew Reusser <dreusser@gmail.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: Issue with Raid 10 super block failing
Date: Mon, 19 Nov 2012 08:39:57 -0500 [thread overview]
Message-ID: <50AA36AD.4080100@turmel.org> (raw)
In-Reply-To: <CAPAnFc_siNMWcYtYf56dYO1LgkCKPxMDhC-PuMD-18D4jNJcqw@mail.gmail.com>
Hi Drew,
On 11/18/2012 02:10 PM, Drew Reusser wrote:
[trim /]
> Sorry - did not know the rules about top posting. Is there something
> specific in the dmesg you are looking for? I tried to mount it again
> and copied everything in the buffer.
Here's what I wanted to see:
> [270303.640240] EXT4-fs (md0): VFS: Can't find ext4 filesystem
This suggests that the ext4 superblock isn't near the beginning like
it's supposed to be. One of the ways that happens with MD raid is if
someone does "mdadm --create" and destroys their old raid superblocks.
I went back and looked at:
> Creation Time : Thu Nov 15 16:08:02 2012
and:
> Data Offset : 262144 sectors
So you've re-created the MD array. That's bad. Chunk size and Data
offset size and alignment defaults have changed in the past couple
years, so re-creating an array with a different mdadm version can cause
these problems. You can also lose the original order of devices, with
similar consequences.
(Side note: there's various pieces of advice floating around the
internet on recovering a broken array that start with re-creating the
array. It's horribly wrong, and only a last resort, and only after
recording all the details about the original array.)
Unless you kept a copy of "mdadm --examine /dev/sd[abde]1" for the
original array, this will be difficult to debug further. Your best
chance is to go back to the version of mdadm available when you first
built the system and recreate with that, trying the various device order
combinations.
Don't attempt to mount to check for success. First, use "fsck -n" to
non-destructively check the FS. If that gives few errors, then you can
mount the FS.
Phil
next prev parent reply other threads:[~2012-11-19 13:39 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-17 18:06 Issue with Raid 10 super block failing Drew Reusser
2012-11-17 23:48 ` Phil Turmel
2012-11-18 3:07 ` Drew Reusser
2012-11-18 14:35 ` Phil Turmel
2012-11-18 16:49 ` Drew Reusser
2012-11-18 17:01 ` Phil Turmel
2012-11-18 17:39 ` Drew Reusser
2012-11-18 18:56 ` Phil Turmel
2012-11-18 19:10 ` Drew Reusser
2012-11-19 13:39 ` Phil Turmel [this message]
2012-11-19 16:44 ` Drew Reusser
2012-11-19 17:12 ` Phil Turmel
2012-11-19 20:41 ` Drew Reusser
2012-11-19 20:47 ` Phil Turmel
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=50AA36AD.4080100@turmel.org \
--to=philip@turmel.org \
--cc=dreusser@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).