linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Markus <M4rkusXXL@web.de>
To: "Darrick J. Wong" <darrick.wong@oracle.com>
Cc: linux-ext4 <linux-ext4@vger.kernel.org>
Subject: Re: Dirty ext4 blocks system startup
Date: Mon, 07 Apr 2014 12:58:40 +0200	[thread overview]
Message-ID: <7488414.mDGKOZ8cSK@web.de> (raw)
In-Reply-To: <5060780.kj9pBZIMgD@web.de>

Hi!

Finally e2image finished successfully. But the produced file is way too big for a mail.

Any other possibility?
(e2image does dump everything except file data and free space. But the problem seems to be just in the bitmap and/or journal.)

Actually, when I look at the code around e2fsck/recovery.c:594
The error is detected and continue is called.
But tagp/tag is never changed, but the checksum is always compared to the one from tag. Intended?


Thanks,
Markus


Markus wrote on 05.04.2014:
> Hi!
> 
> Its a md-raid6 of about 10 TiB.
> The disks have no bad sectors, long smart-test completetd without errors and 
> raid check does not have any mismatched blocks.
> 
> The e2image is still running. Dont know how it big it will grow.
> 
> The e2fsck messages:
> > e2fsck 1.43-WIP (4-Feb-2014)
> > /dev/md5: recovering journal
> > JBD: Invalid checksum recovering block 1152 in log
> > JBD: Invalid checksum recovering block 1152 in log
> > …
> > JBD: Invalid checksum recovering block 1152 in log
> > Killed
> 
> (needed to kill -9 the process)
> => e2fsck/recovery.c:594
> 
> > debugfs 1.43-WIP (4-Feb-2014)
> > /dev/md5: Block bitmap checksum does not match bitmap while reading block
> > bitmap
> 
> The filesystem was not loaded. Catastrophic mode does work.
> 
> Or what "exact error messages" do you mean?
> 
> metadata_csum is enabled, correct.
> 
> 
> Thanks,
> Markus
> 
> 
> PS: Yes that is the correct lkml message.
> 
> 
> Darrick J. Wong wroteat 04.04.2014:
> > On Fri, Apr 04, 2014 at 12:35:45PM +0200, Markus wrote:
> > > Hi!
> > > 
> > > I have a dirty ext4 volume. The system just hangs at startup. After 
> removing that volume from fstab the system starts.
> > > 
> > > Mount and e2fsck just flood with "Invalid checksum recovering block 1152 
> in log" messages.
> > > 
> > > (Mounting with ro,noload let me access most files.)
> > > 
> > > I also tried the e2fsck from current git.
> > > 
> > > debugfs just fails with "Block bitmap checksum does not match bitmap while 
> reading block bitmap". (catastrophic mode does work)
> > > 
> > > Three points:
> > > - e2fsck should not get into an endless loop, blocking the system.
> > > - mount should not get into an endless loop, blocking the system and 
> flooding the system log.
> > > - At least e2fsck should fix the filesystem.
> > > 
> > > 
> > > Any help or hints?
> > 
> > Hmm, that's probably a bug in the journal replay code. :(
> > 
> > Can you send me the output of "e2image -r /dev/sdXX - | bzip2 > hd.e2i.bz2" 
> if
> > it's not too huge?  The exact error messages (if you can capture/photograph
> > them) would also be useful.
> > 
> > I'm guessing you have metadata_csum enabled...
> > 
> > PS: lkml.org is dead; I'm assuming the URL referenced the discussion "Ext4
> > Recovery: Invalid checksum recovering block # in log" but it's hard to tell
> > since there was no subject line provided with that URL.
> > 
> > --D
> > > 
> > > 
> > > Thanks,
> > > Markus
> > > 
> > > 
> > > PS: Original lkml-mail:
> > > https://lkml.org/lkml/2014/4/1/467
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2014-04-07 10:58 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1459400.cqhC1n3S74@f209>
2014-04-04 10:35 ` Dirty ext4 blocks system startup Markus
2014-04-04 18:20   ` Darrick J. Wong
2014-04-05 13:10     ` Markus
2014-04-07 10:58       ` Markus [this message]
2014-04-07 12:48         ` Theodore Ts'o
2014-04-07 14:06           ` Markus
2014-04-08 14:25             ` Markus
2014-04-08 15:28               ` Theodore Ts'o
2014-04-08 19:18             ` Darrick J. Wong

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=7488414.mDGKOZ8cSK@web.de \
    --to=m4rkusxxl@web.de \
    --cc=darrick.wong@oracle.com \
    --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).