lkml.org 
[lkml]   [2000]   [Sep]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [CFT][PATCH] ext2 directories in pagecache


On Thu, 28 Sep 2000, Marko Kreen wrote:

> On Tue, Sep 26, 2000 at 05:29:27PM -0400, Alexander Viro wrote:
> > Folks, give it a try - just keep decent backups. Similar code will
>
> It started to give me following errors:
>
> EXT2-fs error (device sd(8,6)): ext2_add_entry: bad entry in directory
> #28699: rec_len is smaller than minimal - offset=1024, inode=0,
> rec_len=0, name_len=0

Urgh. Sounds like a 1Kb-block filesystem with something that managed to
extend the directory without filling the new block. What's the size of
this directory?

> And sometimes a couple:
>
> EXT2-fs error (device sd(8,6)): ext2_readdir: bad entry in directory
> #28699: rec_len is smaller than minimal - offset=1024, inode=0,
> rec_len=0, name_len=0
>
> There are a lot of instances of this but the dir # is the same.
> The directory in question seems to PostgreSQL data directory
> /var/lib/postgresql/data and it started when I tried to create a
> database into this. Otherwise the PostgreSQL works ok.

> No Oops yet.
>
> Kernel is UP 2.4.0-test9-pre7+ext2-patch-7. Nothing else.
>
> What other info is needed? And please also directions how to get it :)

debugfs and then stat <directory_name>

> Hmm, I am starting to think that maybe I _should_ make backups...

Ahem...

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.194 / U:31.356 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site