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: <55AFC5BD.9000001@redhat.com>
Date:	Wed, 22 Jul 2015 11:33:01 -0500
From:	Eric Sandeen <sandeen@...hat.com>
To:	Pavel Machek <pavel@....cz>, tytso@....edu
CC:	jack@...e.com, linux-ext4@...r.kernel.org
Subject: Re: two fsck.ext4's needed to clean filesystem

On 7/22/15 9:21 AM, Pavel Machek wrote:
> Hi!
> 
>> Is that considered ok? Should fsck restart itself or report
>> 'filesystem still has errors' in this case?

It should.

> It definitely should in this case:
> 
> Free inodes count wrong (22999, counted=23011).
> Fix? yes
> 
> 
> delme.fsck.damaged: ***** FILE SYSTEM WAS MODIFIED *****
> delme.fsck.damaged: 2053/25064 files (0.1% non-contiguous),
> 97825/100000 blocks
> Second check...
> e2fsck 1.42.12 (29-Aug-2014)
> Pass 1: Checking inodes, blocks, and sizes
> Pass 2: Checking directory structure
> Pass 3: Checking directory connectivity
> Pass 4: Checking reference counts
> Pass 5: Checking group summary information
> Block bitmap differences:  +18015
> Fix? yes
> 
> Free blocks count wrong for group #2 (36, counted=35).
> Fix? yes
> 
> Free blocks count wrong (2175, counted=2174).
> Fix? yes
> 
> 
> delme.fsck.damaged: ***** FILE SYSTEM WAS MODIFIED *****
> delme.fsck.damaged: 2053/25064 files (0.2% non-contiguous),
> 97826/100000 blocks
> Fsck lied about its success (result = 1)
> pavel@amd:~/misc$ cp delme.fsck.original-damaged delme.report-2
> 
> (I can make the images public. Yes, it is artificial test.)

Please do - you're right, it should fix it on the first pass.

Thanks,
-Eric

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