From: Kit Westneat <kwestneat@ddn.com>
To: "linux-ext4@vger.kernel.org" <linux-ext4@vger.kernel.org>
Subject: e2fsck can't handle bad extents w/ bad bitmaps
Date: Tue, 10 Dec 2013 15:39:17 -0500 [thread overview]
Message-ID: <52A77BF5.5060204@ddn.com> (raw)
Hello,
We ran into an issue recently where we had a filesystem that had both
invalid bitmaps and corrupted extent nodes. The issue was that currently
the fix for a corrupted extent requires that the bitmaps be read in:
pass1.c +2250, scan_extent_node:
pctx->blk = extent.e_pblk;
pctx->blk2 = extent.e_lblk;
pctx->num = extent.e_len;
if (fix_problem(ctx, problem, pctx)) {
>> e2fsck_read_bitmaps(ctx);
pctx->errcode =
ext2fs_extent_delete(ehandle, 0);
Which then fails:
e2fsck/util.c +272, e2fsck_read_bitmaps:
if (ctx->invalid_bitmaps) {
com_err(ctx->program_name, 0,
_("e2fsck_read_bitmaps: illegal bitmap block(s) for %s"),
We just ended up adding a patch to ignore the bad extents, but I just
wanted to let people know that this problem exists.
Thanks,
Kit
--
---
Kit Westneat
L3 Lustre Support, DDN
703-659-3869
reply other threads:[~2013-12-10 20:39 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=52A77BF5.5060204@ddn.com \
--to=kwestneat@ddn.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.