public inbox for linux-ext4@vger.kernel.org
 help / color / mirror / Atom feed
From: Theodore Ts'o <tytso@mit.edu>
To: sandeen@redhat.com
Cc: Julius Schwartzenberg <julius.schwartzenberg@gmail.com>,
	linux-ext4@vger.kernel.org
Subject: Re: e2fsck doesn't finish
Date: Tue, 18 Apr 2017 01:24:15 -0400	[thread overview]
Message-ID: <20170418052415.jl44dt2jnmclpx5m@thunk.org> (raw)
In-Reply-To: <059b964a-facb-cfd5-6691-4cc1d66fea61@redhat.com>

[-- Attachment #1: Type: text/plain, Size: 1629 bytes --]

On Mon, Apr 17, 2017 at 02:16:26PM -0500, Eric Sandeen wrote:
> 
> When I look at your image, it's finding tons of corruption - much
> more than just "step 1" followed by "e2fsck: aborted"

I also downloaded the image, and what I saw was a large number of
messages of the form:

HTREE directory inode 4195634 has an invalid root node.
Clear HTree index? yes

I'm prety sure this is a result of the e2image -S (scramble) option.

Followed by "e2fsck: aborted"

It looks like the problem is fixed with the latest version of
e2fsprogs, though.  I just tried running using a build of e2fsprogs
from the next branch, and this seems to allow e2fsck to fully fix the
file system and avoid the "aborted" message.  The interesting thing is
even after it is fixed, there is something which is causing the 1.43.4
version of e2fsprogs abort:

e2fsck 1.43.5-WIP (17-Feb-2017)
Pass 1: Checking inodes, blocks, and sizes
Timestamp(s) on inode 4200169 beyond 2310-04-04 are likely pre-1970.
Fix? yes

Timestamp(s) on inode 4201357 beyond 2310-04-04 are likely pre-1970.
Fix? yes

Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information

home: ***** FILE SYSTEM WAS MODIFIED *****
home: 2185285/16179200 files (9.7% non-contiguous), 58130079/64713836 blocks
<tytso@callcc> {/home/tytso}
1012% /sbin/e2fsck -fy /tmp/test.img
e2fsck 1.43.4 (31-Jan-2017)
Pass 1: Checking inodes, blocks, and sizes
e2fsck: aborted

The obvious first guess is that there was a bug in the date encoding
validity checking.


     	      	      	       	     	      - Ted

[-- Attachment #2: sda4.log.gz --]
[-- Type: application/gzip, Size: 9620 bytes --]

  reply	other threads:[~2017-04-18  5:24 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-16 17:07 e2fsck doesn't finish Julius Schwartzenberg
2017-04-17 14:17 ` Eric Sandeen
2017-04-17 15:11   ` Julius Schwartzenberg
2017-04-17 15:18     ` Eric Sandeen
2017-04-17 19:16 ` Eric Sandeen
2017-04-18  5:24   ` Theodore Ts'o [this message]
2017-04-19 20:57     ` Julius Schwartzenberg
2017-04-19 21:07       ` Andreas Dilger
2017-04-23 14:07         ` Julius Schwartzenberg

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=20170418052415.jl44dt2jnmclpx5m@thunk.org \
    --to=tytso@mit.edu \
    --cc=julius.schwartzenberg@gmail.com \
    --cc=linux-ext4@vger.kernel.org \
    --cc=sandeen@redhat.com \
    /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