The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Olivier Guerrier <olivier.lkml@guerrier.com>
To: huiac@internode.on.net
Cc: linux-kernel@vger.kernel.org
Subject: Re: Fake ext3 corruption on raid5 in 2.6.11.9 smp
Date: Fri, 27 May 2005 04:22:52 +0200	[thread overview]
Message-ID: <4296847C.6010602@guerrier.com> (raw)
In-Reply-To: <20050527012909.GA32085@oasissystems.com.au>

First, I just realized the typo in my previous message's subject:
Should read 2.6.*11.*9 smp, instead of 2.6_.9. Sorry :|

jpearson wrote:
> Hi,
> 
> I saw this exact same error (EXT3-fs error (device dm-x): ext3_readdir:
> bad entry in directory #nnnnnnn: rec_len % 4 != 0 - offset=0, inode=xxxxxxxx,
> rec_len=...
> 
> from time to time in my non-SMP RAID system with 512Mb RAM, with ext3 on LVM on top of RAID5.
> 
> Never caused actual corruption - run FSCK, no errors, remount rw
> successfully until next time; error rarely in the same place, but always
> in a directory and rec_len % 4 != 0.  Looks like an 'in-kernel' thing,
> because (e.g.) running find on the volume after remounting rw produced
> no issues, so presumably the on-disk directory wasn't *really* the
> issue.

I confirm this here too: random place, always a dir, always 'rec_len % 4 
!= 0', no fs issue or data loss (so far...)

> Filesystems between about 8 and 50 Gb, and not what I'd characterise as a
> heavy load.

By heavy load, I mean a system load between 10 and 15 for 3 hours 
(before error) Processes running were several instances of mkisofs 
(reading from and writing to the faulty partition)

> This was with about 2.6.4 - 2.6.7.  I'm running 2.6.11 now and haven't
> seen it in some time; so it was either fixed by 2.6.11, or mounting ro
> by default has just reduced my exposure.

As my kernel is a 2.6.11.9, It is not fixed so far.

I will reformat when possible, this time I will use lvm over raid5, so I 
can use xfs for my usefull data, and keep a medium ext3 partition to 
make tests if needed (just need to know what to test)

Thanks

      reply	other threads:[~2005-05-27  2:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-26  9:34 Fake ext3 corruption on raid5 in 2.6 .9 smp Olivier Guerrier
2005-05-27  1:29 ` jpearson
2005-05-27  2:22   ` Olivier Guerrier [this message]

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=4296847C.6010602@guerrier.com \
    --to=olivier.lkml@guerrier.com \
    --cc=huiac@internode.on.net \
    --cc=linux-kernel@vger.kernel.org \
    /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