linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Theodore Ts'o <tytso@mit.edu>
To: Johan Harvyl <johan@harvyl.se>
Cc: linux-ext4@vger.kernel.org
Subject: Re: resize2fs: Should never happen: resize inode corrupt! - lost key inodes
Date: Tue, 11 Aug 2015 18:47:18 -0400	[thread overview]
Message-ID: <20150811224718.GD20658@thunk.org> (raw)
In-Reply-To: <55CA3BDE.7020401@harvyl.se>

On Tue, Aug 11, 2015 at 08:15:58PM +0200, Johan Harvyl wrote:
> 
> I recently attempted an operation I have done many many times before, add a
> drive to a raid array followed by offline resize2fs to expand the ext4fs on
> it.

If you've read the old threads, you'll note that online resize is
actually safer (has proven to have had less bugs) than offline
resize, at least with respect to big ext4 file systems.  :-/

I'm not aware of any offline resize with 1.42.13, but it sounds like
you were originally using mke2fs and resize2fs 1.42.10, which did have
some bugs, and so the question is what sort of might it might have
left things.

It looks like you were resizing the file system from 18TB to 22TB.
There shouldn't have been a resize inode if the file system was larger
than 16TB, and so it sounds like is that was what tickled this error message:

> # resize2fs /dev/md0
> Should never happen: resize inode corrupt!

This was after most of the resize work has been done, so the question
is what we need to do to get your file system up and running again.

What does "e2fsck -fn /dev/md0" report?

Hopefully "e2fsck -fy /dev/md0" will fix things for you, but if you
haven't made backups, we should be careful before we move forward.

							- Ted


  reply	other threads:[~2015-08-11 22:47 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-11 18:15 resize2fs: Should never happen: resize inode corrupt! - lost key inodes Johan Harvyl
2015-08-11 22:47 ` Theodore Ts'o [this message]
2015-08-12 22:00   ` Johan Harvyl
2015-08-13 13:27     ` Theodore Ts'o
2015-08-13 18:12       ` Johan Harvyl
2015-09-03 22:16         ` Johan Harvyl
2015-09-12 10:27           ` Johan Harvyl
2015-09-14 21:35             ` Johan Harvyl
2015-09-15 17:55               ` Johan Harvyl
2015-09-17  1:21                 ` Andreas Dilger
2015-09-18 18:26                   ` Johan Harvyl
2015-09-19  2:47                   ` Dave Chinner
2015-09-19  5:23                     ` Darrick J. Wong
2015-09-19 14:11                     ` Johan Harvyl
2015-09-19 15:02                       ` Theodore Ts'o

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=20150811224718.GD20658@thunk.org \
    --to=tytso@mit.edu \
    --cc=johan@harvyl.se \
    --cc=linux-ext4@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).