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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <F81EF3B4-CEBF-43FD-BD38-0AFFF56014C6@dilger.ca>
Date:	Mon, 28 Oct 2013 00:13:26 -0600
From:	Andreas Dilger <adilger@...ger.ca>
To:	Stephen Elliott <techweb@...world.com>,
	David Jeffery <djeffery@...hat.com>
Cc:	"linux-ext4@...r.kernel.org List" <linux-ext4@...r.kernel.org>,
	Bernd Schubert <bernd.schubert@...m.fraunhofer.de>
Subject: Re: Query FSCK Errors on ext4

The error reported here is a relatively new one.  It only appeared in
e2fsck 1.42.8, and wasn’t in the code that I’m using locally (1.42.7)
so I wasn’t sure what it actually meant without looking at it.

It looks like some kind of overflow of the extent tree, which causes
e2fsck to chop off the last 5 disk blocks (40 sectors), though I’m not
sure exactly why.  From your comments, this can be reproduced with
your database usage?  Does it use fallocate() or any other strange
IO operations that might be causing this?

Have you tried updating your kernel?  If there is repeated corruption
appearing in the filesystem, then it is either a bug in the kernel or
in e2fsck.  Not really sure which one to blame at this point.

Cheers, Andreas

On Oct 18, 2013, at 9:45 AM, Stephen Elliott <techweb@...world.com> wrote:

> Any feedback on this guys??? Would really appreciate somebody taking a look over this.
>  
> From: Stephen Elliott [mailto:techweb@...world.com] 
> Sent: 22 September 2013 20:13
> To: linux-ext4@...r.kernel.org; linux-fsdevel@...r.kernel.org; Andreas Dilger (adilger@...ger.ca); 'Bernd Schubert'
> Subject: Query FSCK Errors on ext4
>  
> Hi all,
>  
> I have theorised that the problem comes from the MS access DB being open (over Samba) on client workstations when the server is reloaded.
>  
> Since ensuring these are closed prior to reloading, I have not seen further FSCK errors on reload. Is there an explanation for this? I can see why this may corrupt DB but not the filesystem.
>  
> Just as a primer, I used a ReadyNAS NV+ for many years which was running ext3 and never had this issue. However, since using ext4 on a ReadyNAS Pro, I now see this issue.
>  
> Many Thanks
> Stephen Elliott
>  
> From: Stephen Elliott [mailto:techweb@...world.com] 
> Sent: 23 July 2013 22:02
> To: linux-ext4@...r.kernel.org; linux-fsdevel@...r.kernel.org; Andreas Dilger (adilger@...ger.ca); 'Bernd Schubert'
> Subject: RE: FSCK Errors on ext4
>  
> If it helps guys, the same file as before is causing the issue with inode 4195610, a very large MS access DB.
>  
> From: Stephen Elliott [mailto:techweb@...world.com] 
> Sent: 23 July 2013 21:52
> To: linux-ext4@...r.kernel.org; linux-fsdevel@...r.kernel.org; Andreas Dilger (adilger@...ger.ca); 'Bernd Schubert'
> Subject: FSCK Errors on ext4
>  
> Hi Andreas / Bernd / all,
>  
> You may recall advising me on another batch of FSCK errors a few months back.
>  
> The same device on an ext4 file system has produced the following errors after a clean reload. It seems to be fine now but wanted your input on this. No bad blocks are reported on the devices etc.
>  
> ***** File system check forced at Tue Jul 23 21:02:13 WEST 2013 ***** fsck 1.42.8 (20-Jun-2013) e2fsck 1.42.8 (20-Jun-2013) Pass 1: Checking inodes, blocks, and sizes Inode 4195619, end of extent exceeds allowed value
>                 (logical block 64907, physical block 11435403, len 16) Clear? yes
>  
> Inode 4195619, i_blocks is 1337216, should be 1337176.  Fix? yes
>  
> Pass 2: Checking directory structure
> Pass 3: Checking directory connectivity
> Pass 4: Checking reference counts
> Pass 5: Checking group summary information Block bitmap differences:  -(11435403--11435407) Fix? yes
>  
> Free blocks count wrong for group #348 (2130, counted=2135).
> Fix? yes
>  
> Free blocks count wrong (417470107, counted=417470112).
> Fix? yes
>  
>  
> /dev/c/c: ***** FILE SYSTEM WAS MODIFIED *****
> /dev/c/c: 625785/30212096 files (13.6% non-contiguous), 65923424/483393536 blocks
>  
> Many Thanks
> Stephen Elliott


Cheers, Andreas





--
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