[Pvfs2-users] NFS trouble : magic ahead!

Sam Lang slang at mcs.anl.gov
Tue Dec 4 10:19:12 EST 2007


Hi Emmanuel,

This is probably a bug in our readdir code, which may only be  
triggered by NFS doing readdirs in chunks of 26.  I'll look into it.

Thanks,
-sam

On Dec 4, 2007, at 8:49 AM, Emmanuel Florac wrote:

>
> OK, I've been testing again and again, and I found a weeeeeeird bug.
> When I say weird, I mean really really of the black magic flavour.
>
> So : still testing this NFS stuff, I tried with various configurations
> to sort it out, and it really a PVFS2 problem (tried different  
> clients,
> and exporting non-pvfs2 FS from the same server, all OK).
>
> The NFS server exports the pvfs2 FS this way :
>
> /mnt/pvfs2      *(rw,async,no_root_squash,no_subtree_check)
>
> On the client, I mount it and run this into the share :
>
> for i in `seq 1 50` ; do touch test.$i ; done ; echo "created $i" ;
> echo -n "listing " ; ls | wc -l
>
> So I create 50 files from test.1 to test.50 and so what? I tried again
> and again, and always the same : test.26 is missing in the ls output!
> Not any other file. When I create test.1 to test.65536, test.26 is
> still missing.
>
> BUT if you type "ls test.26", it shows up just OK. Yeah, that's weird.
> Then I do
> rm * ; ls
>
> and it tells me
> test.26
>
> Uh....
> If I create 2000 files but starting from 100 (test.100 to test.2100),
> when I do
>
> rm *; ls
>
> It gives
> test.125
>
> Uh, the 26th file, again... This is a very strange modulo 26 bug
> indeed :)
>
> -- 
> ----------------------------------------
> Emmanuel Florac     |   Intellique
> ----------------------------------------
>
> _______________________________________________
> Pvfs2-users mailing list
> Pvfs2-users at beowulf-underground.org
> http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users
>



More information about the Pvfs2-users mailing list