linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: tytso@mit.edu
To: "Buehl, Reiner" <reiner.buehl@hp.com>
Cc: "linux-ide@vger.kernel.org" <linux-ide@vger.kernel.org>,
	"linux-fsdevel@vger.kernel.org" <linux-fsdevel@vger.kernel.org>
Subject: Re: ext3 filesystem corruption on md RAID1 device
Date: Thu, 20 May 2010 10:30:39 -0400	[thread overview]
Message-ID: <20100520143039.GC16634@thunk.org> (raw)
In-Reply-To: <BA8A2107B0FD8A48AEB0405BDC36CE4F3F48B1DCFD@GVW1115EXC.americas.hpqcorp.net>

On Thu, May 20, 2010 at 10:08:21AM +0000, Buehl, Reiner wrote:
> Hi,
> 
> I keep getting ext3 filesystem corruptions on one of my md RAID1 arrays. Shortly after booting, I get messages like the following one:
> 
> EXT3-fs error (device md1): htree_dirblock_to_tree: bad entry in
> directory #17269110: rec_len is smaller than minimal - offset=0,
> inode=0, rec_len=0, name_len=0

This looks like a block got completely zero'ed out.  One interesting
question is whether the corruption is happening on the read side (when
transfering data from the disk to memory) or on the write side (when
tranferring data from memory to disk).  So something that's worth
doing is grab the output of e2fsck, and see if it see if is trying to
fix the directory inode reported by the EXT3-fs error syslog.

Another thing that's worth doing is to try running e2fsck -fy /dev/md1
a second time.  If you see errors in that second fsck run, then it's
time to suspect that either (a) the storage stack isn't reliably
reading from disk, or (b) the storage stack isn't reliably writing to
the disk.  Thers is the possibility of an e2fsck bug, but that seems
unlikely in this context.  If you save the outputs from each e2fsck
run, I can look at them and tell you whether it's likely an e2fsck bug
or, what seems more likely a storage stack failure.

Regards,

						- Ted

  parent reply	other threads:[~2010-05-20 14:30 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-20 10:08 ext3 filesystem corruption on md RAID1 device Buehl, Reiner
2010-05-20 10:56 ` Dmitry Monakhov
2010-05-20 11:10   ` Buehl, Reiner
2010-05-20 11:27     ` Dmitry Monakhov
2010-05-20 11:35       ` Buehl, Reiner
2010-05-20 11:49 ` Tim Small
2010-05-20 12:04   ` Buehl, Reiner
2010-05-20 14:30 ` tytso [this message]
2010-05-21 14:40   ` Buehl, Reiner
2010-05-23  3:21     ` Buehl, Reiner
2010-05-23  5:46   ` Buehl, Reiner
2010-05-27 20:12     ` Jan Kara
2010-05-29 13:48       ` Buehl, Reiner
2010-05-31 20:55         ` Jan Kara
2010-06-01  7:25           ` Buehl, Reiner
     [not found]             ` <20100601102240.GA4275@quack.suse.cz>
2010-06-18  7:12               ` Buehl, Reiner
2010-06-18 11:09                 ` Bug#582275: " Theodore Tso
2010-06-18 11:25                   ` Theodore Tso
2010-05-21  4:40 ` Robert Hancock

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=20100520143039.GC16634@thunk.org \
    --to=tytso@mit.edu \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-ide@vger.kernel.org \
    --cc=reiner.buehl@hp.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;
as well as URLs for NNTP newsgroup(s).