From: Carlos Maiolino <cmaiolino@redhat.com>
To: Ext4 Developers List <linux-ext4@vger.kernel.org>
Subject: Re: Possible file system corruption?
Date: Tue, 10 Feb 2015 07:39:49 -0200 [thread overview]
Message-ID: <20150210093949.GA1735@hades.maiolino.org> (raw)
In-Reply-To: <CAF_MivHO0nVcqUTv6M2rMBkAS0pmSGBa-KSurPdbqaN+MGp=iQ@mail.gmail.com>
Hello,
I don't work with ext4 for a while, but maybe I can give a few suggestions.
first of all, I'd suggest you to run `e2fsck -fnv` and attach the whole output
of the command to the e-mail (pastebins are preferred though).
Giving the description, I'd say that you might be trying to run e2fsck in a
different volume/device that you're actually mounting, but well, that's too soon
to say.
have you tried to actually run e2fsck specifying a backup superblock?
cheers
On Mon, Feb 09, 2015 at 07:33:28PM +0800, Kevin Liao wrote:
> Hi All,
>
> Recently whenvevr I try to access one file, I saw the following kernel log:
>
> "EXT4-fs error (device md0): ext4_ext_find_extent:400: inode #95223833: comm
> fio: bad header/extent: invalid magic - magic e2b6, entries 59156, max
> 58100(0), depth 43399(0)"
>
> inode 95223833 is just the file I want to read. I guess there may be some
> corruption in the file system. Therefore I umount it and run e2fsck command
> but get the following result:
>
> "ext2fs_check_desc: Corrupt group descriptor: bad block for block bitmap
> ./e2fsck: Group descriptors look bad... trying backup blocks...
> Corruption found in superblock. (reserved_gdt_blocks = 16384).
>
> The superblock could not be read or does not describe a valid ext2/ext3/ext4
> filesystem. If the device is valid and it really contains an ext2/ext3/ext4
> filesystem (and not swap or ufs or something else), then the superblock
> is corrupt, and you might try running e2fsck with an alternate superblock:
> e2fsck -b 8193 <device>
> or
> e2fsck -b 32768 <device>"
>
> It seems that the superblock is bad, however I can still mount it and access
> to other files without error. The kernel version is 3.4.23. Is there anything
> I can do to recover the file? Any help is very appreciated. Thank a lot.
>
> Kevin
> --
> 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
--
Carlos
next prev parent reply other threads:[~2015-02-10 9:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-09 11:33 Possible file system corruption? Kevin Liao
2015-02-10 9:39 ` Carlos Maiolino [this message]
2015-02-12 10:44 ` Kevin Liao
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=20150210093949.GA1735@hades.maiolino.org \
--to=cmaiolino@redhat.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