[Pvfs2-users] NFS trouble : magic ahead!
Emmanuel Florac
eflorac at intellique.com
Tue Dec 4 09:49:12 EST 2007
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
----------------------------------------
More information about the Pvfs2-users
mailing list