FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > EXT3 Users

 
 
LinkBack Thread Tools
 
Old 12-11-2007, 09:15 PM
Bruce Guenter
 
Default PROBLEM: Duplicated entries in large NFS shared directory

Hi.

I have a large directory (almost 40,000 entries) on an ext3 filesystem
that is shared over NFS. I discovered recently when listing the
directory on the client, one of the files appears twice. The same file
does not appear twice on the server.

I did a capture using WireShark, and discovered that the offending file
name is being sent twice -- once as the last entry in a readdir reply
packet and then again as the first entry in the next readdir reply.

If I'm reading the trace right, the readdir call sends the cookie for
the last entry in the previous readdir reply and the server responds
with the next set of entries. In this case, the server responds with
the entry containing the same cookie again.

The server is running vanilla 2.6.23.8. I would be happy to provide any
further information that would help resolve this bug.

I posted this to the NFS maintainers, and Neil Brown suggested:

> My guess is that you have lucked-out and got two directory entries
> that hash to the same value, and they appear either side of a readdir
> block boundary.
>
> It is an awkward designed limitation of ext3 that is rarely a problem
> and could possibly be worked around to some extent...
--
Bruce Guenter <bruce@untroubled.org> http://untroubled.org/
_______________________________________________
Ext3-users mailing list
Ext3-users@redhat.com
https://www.redhat.com/mailman/listinfo/ext3-users
 

Thread Tools




All times are GMT. The time now is 10:37 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org