public inbox for linux-ext4@vger.kernel.org
 help / color / mirror / Atom feed
From: Dave Jones <davej@redhat.com>
To: "Theodore Ts'o" <tytso@mit.edu>, Borislav Petkov <bp@alien8.de>,
	Linux Kernel <linux-kernel@vger.kernel.org>,
	linux-ext4@vger.kernel.org
Subject: Re: EXT4 corruption on Linus latest tree.
Date: Wed, 27 Feb 2013 11:56:21 -0500	[thread overview]
Message-ID: <20130227165621.GA8834@redhat.com> (raw)
In-Reply-To: <20130227164417.GF5609@thunk.org>

On Wed, Feb 27, 2013 at 11:44:17AM -0500, Theodore Ts'o wrote:
 > On Wed, Feb 27, 2013 at 11:04:46AM -0500, Dave Jones wrote:
 > >  > > EXT4-fs error (device sdb1): htree_dirblock_to_tree:919: inode #172235804: block 152052301: comm ls: bad entry in directory: rec_len is smaller than minimal - offset=0(0), inode=0, rec_len=0, name_len=0
 > > 
 > > Yeah, looks similar.  The missing files/dirs reappeared when I
 > > booted an older kernel, so it looks like the corruption doesn't
 > > hit the disk.  Fsck (1.42.5) didn't find anything either.
 > 
 > I suspect I see the problem...   can you send me the results of 
 > 
 >   debugfs -R "stat <172235804>" /dev/sdb1
 > 
 > to confirm?

debugfs 1.42.5 (29-Jul-2012)
Inode: 172235804   Type: directory    Mode:  0775   Flags: 0x80000
Generation: 1174354732    Version: 0x00000000:00000055
User:  1000   Group:  1000   Size: 4096
File ACL: 0    Directory ACL: 0
Links: 24   Blockcount: 8
Fragment:  Address: 0    Number: 0    Size: 0
 ctime: 0x512d0fdc:71fe3000 -- Tue Feb 26 14:41:16 2013
 atime: 0x512d106e:5a143300 -- Tue Feb 26 14:43:42 2013
 mtime: 0x512d0fdc:71fe3000 -- Tue Feb 26 14:41:16 2013
crtime: 0x50e76c35:1d69aad8 -- Fri Jan  4 18:56:37 2013
Size of extra inode fields: 28
Extended attributes stored in inode body: 
  selinux = "unconfined_u:object_r:file_t:s0\000" (32)
EXTENTS:
(0):688923213


That took about 2 minutes to run btw, expected ?

	Dave


 

  reply	other threads:[~2013-02-27 16:56 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-27 15:43 EXT4 corruption on Linus latest tree Dave Jones
2013-02-27 15:55 ` Borislav Petkov
2013-02-27 16:04   ` Dave Jones
2013-02-27 16:32     ` Theodore Ts'o
2013-02-27 16:44     ` Theodore Ts'o
2013-02-27 16:56       ` Dave Jones [this message]
2013-02-27 17:07         ` gnehzuil.liu
2013-02-27 18:03           ` Theodore Ts'o

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=20130227165621.GA8834@redhat.com \
    --to=davej@redhat.com \
    --cc=bp@alien8.de \
    --cc=linux-ext4@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tytso@mit.edu \
    /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