Created attachment 332835 [details] binary capture showing the problem packet in frame 1716 To reproduce: # mount -t nfs4 rhel4-server:/export /mnt/cthon # cd /mnt/cthon # env NFSTESTDIR=`pwd` /root/cthon04/basic/test5 -s /root/cthon04/basic/test5: read and write /root/cthon04/basic/test5: (/mnt/cthon/redhat-11.test) can't create 'bigfile' : Input/output error ...after this, the directory FH goes stale: # ls ls: cannot open directory .: Stale NFS file handle ...the problem seems to be that after an open, we try to do a setattr on the file and the client is sending a bogus stateid (zeroed out).
I only see this problem when the test is run from recent clients. A RHEL5 client didn't trigger it. So I think the issue is that the client is now sending a zero stateid for this SETATTR call and older clients didn't. The server is throwing back an error, but according to the CITI guys it probably shouldn't be. I'll have to verify this in the RFC...
*** This bug has been marked as a duplicate of bug 517162 ***