From: Theodore Ts'o <tytso@mit.edu>
To: "Toralf Förster" <toralf.foerster@gmx.de>
Cc: linux-ext4@vger.kernel.org
Subject: Re: ext4 fs errors - immediately reboot needed ?
Date: Mon, 19 Nov 2012 14:31:34 -0500 [thread overview]
Message-ID: <20121119193134.GA30091@thunk.org> (raw)
In-Reply-To: <50AA7E55.2090707@gmx.de>
On Mon, Nov 19, 2012 at 07:45:41PM +0100, Toralf Förster wrote:
> /me wonders, whether the following messages should force me to *immediately*
> reboot the system of whether I should schedule a reboot in the near future :
In general, if you're not sure, the answer is yes....
> 2012-11-19T19:37:20.188+01:00 n22 kernel: EXT4-fs error (device sdb3) in ext4_new_inode:933: IO failure
This means that you have some kind of hardware or media error,
probably in an inode bitmap block. There are some planned patches to
try to isolate out failures when reading from a block or inode bitmap,
but they aren't yet in mainline yet.
> 2012-11-19T19:44:33.734+01:00 n22 kernel: EXT4-fs error (device sdb3): mb_free_blocks:1300: group 424, block 13916749:freeing already freed block (bit 23117)
This means you have a corrupted block bitmap block. When deleting a
file, we found that some data blocks that should have been marked as
in use, were marked as freed. That's actually not dangerous, but it's
likely that if you have this problem, that you might have the reverse,
which is a data block which should be marked as in use, but was marked
as freed. The reason why is dangerous is because ext4 might decide to
allocate a block which is still in use, which would lead to data loss
when that block is reused.
Some future patches might make it safe(r) to continue after seeing
this error (by preventing any allocations from that block group), but
even then, you're probably going to be better off forcing an fsck run
as soon as possible. For now, I would strongly recommend it.
Regards,
- Ted
--
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
prev parent reply other threads:[~2012-11-19 19:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-19 18:45 ext4 fs errors - immediately reboot needed ? Toralf Förster
2012-11-19 19:31 ` Theodore Ts'o [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=20121119193134.GA30091@thunk.org \
--to=tytso@mit.edu \
--cc=linux-ext4@vger.kernel.org \
--cc=toralf.foerster@gmx.de \
/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).