From: NeilBrown <neilb@suse.de>
To: Gavin Flower <gavinflower@yahoo.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: mdadm: recovering from an aborted reshape op - boot messages
Date: Tue, 15 Feb 2011 10:55:08 +1100 [thread overview]
Message-ID: <20110215105508.137097fa@notabene.brown> (raw)
In-Reply-To: <396537.54229.qm@web65106.mail.ac2.yahoo.com>
On Mon, 14 Feb 2011 14:47:48 -0800 (PST) Gavin Flower <gavinflower@yahoo.com>
wrote:
> Hi Neil,
>
> I did not notice this before (note: I have poor eyesight, so unless I explicitly look, I may not notice things!). but just before Fedora drops to the shell on a reboot I saw these messages (hand transcribed, so might have the odd transcription error):
>
> /dev/md1: The filing system size (according to the superblock) is 76799952 blocks
> The physical size of the device is 76799616
> Either the superblock or the partition table is likely to be corrupt!
>
> /dev/md1: UNEXPECTED INCONSISTENCY: RUN fsck manually
> (i.e. without -a or -p options)
>
> Note that original size according mdadm was not a multiple of 512KB, so I reshaped it to be the largest multiple or 512KB less than the original size. So my second attempt to reshape, using the 512 chunk size, started okay.
>
> Advice appreciated.
Hmmm....
Firstly, the -A and -E output you sent are inconsistent.
The "-A" output reports:
mdadm:/dev/md1 has an active reshape - checking if critical section needs to be restored
For 0.90 metadata (which you are using), that can only be reported if the
minor number is at least 91. i.e. it has been temporarily set to 0.91.
However the "-E" output show that all devices are "0.90.00", not 0.91.
So those devices cannot possibly produce that -A output.
The devices appear to have all completely transitioned to 512K chunksize....
And the -D output seems to show that the array is fine and working properly.
Secondly, as you say you reshaped the array to make it slightly smaller so it
would be a multiple of 512K. This is obviously needed to change the chunk
size.
But before you did that - did you resize the filesystem to be only that big?
I suspect not. So the filesystem thinks that it is bigger than the device.
I don't know how best to fix that.
You could try running 'resize2fs" now (was it ext3? I don't remember). Or
maybe an 'fsck -f' might fix it.
It might be safest to ask on ext3-users@redhat.com. Report that you shrunk
your array before shrinking the filesystem and ask what the best remedial
strategy is.
NeilBrown
next prev parent reply other threads:[~2011-02-14 23:55 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-14 22:47 mdadm: recovering from an aborted reshape op - boot messages Gavin Flower
2011-02-14 23:55 ` NeilBrown [this message]
2011-02-15 1:11 ` Gavin Flower
2011-02-15 1:41 ` NeilBrown
2011-02-15 2:04 ` Gavin Flower
2011-02-15 2:16 ` 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=20110215105508.137097fa@notabene.brown \
--to=neilb@suse.de \
--cc=gavinflower@yahoo.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).