mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: franz_pletz@t-online.de (Franz Pletz)
To: Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org, ext2-devel@lists.sourceforge.net
Subject: Re: [BUG] fs/jbd/checkpoint.c:427: "blocknr != 0"
Date: Wed, 28 Jul 2004 01:42:43 +0200	[thread overview]
Message-ID: <4106E873.4060907@t-online.de> (raw)
In-Reply-To: <20040727161128.5939f8c0.akpm@osdl.org>

Andrew Morton wrote:
> I assume you have a wrecked journal, which is triggering this assert:
> 
> 	} else {
> 		first_tid = journal->j_transaction_sequence;
> 		blocknr = journal->j_head;
> 	}
> 	spin_unlock(&journal->j_list_lock);
> 	J_ASSERT(blocknr != 0);
> 
> 	/* If the oldest pinned transaction is at the tail of the log
>            already then there's not much we can do right now. */
> 
> e2fsck should have fixed this up when doing its journal replay.
> 
> You could probably get your data back by temporarily removing the journal:
> 
> 	tune2fs -O ^has_journal /dev/hda1
> 	e2fsck -f /dev/hda1
> 	tune2fs -j /dev/hda1
> 	e2fsck -f /dev/hda1

That solved the problem. Thank you very much.

I've read the tune2fs manpage in order to rebuild the journal in some 
way. But as I didn't want to destroy my data, I didn't dare to do 
something unless I am really sure what I'm doing.

I can't track that error down to a specific issue because the machine 
didn't lock up or something similar. I just shut it down and got that 
message when booting it the other day.


Franz

      reply	other threads:[~2004-07-27 23:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-24 11:40 Franz Pletz
2004-07-27 23:11 ` Andrew Morton
2004-07-27 23:42   ` Franz Pletz [this message]

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=4106E873.4060907@t-online.de \
    --to=franz_pletz@t-online.de \
    --cc=akpm@osdl.org \
    --cc=ext2-devel@lists.sourceforge.net \
    --cc=linux-kernel@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

all inboxes | Powered by JetHome®