lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150210093949.GA1735@hades.maiolino.org>
Date:	Tue, 10 Feb 2015 07:39:49 -0200
From:	Carlos Maiolino <cmaiolino@...hat.com>
To:	Ext4 Developers List <linux-ext4@...r.kernel.org>
Subject: Re: Possible file system corruption?

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@...r.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

-- 
Carlos
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ