Comment 4 for bug 269954

Revision history for this message
Ari Mujunen (ari-mujunen) wrote :

Ah, the easiest steps to reproduce:
1) Take two NFS clients, one of which is running 2.6.24-something (machine B) and the other can run any version (machine A). You can equally well use the NFS server itself as machine A, as long as machine B is running 2.6.24 NFS client.
2) On A: 'touch file'.
3) On B: 'stat file', stats print out fine.
4) On A: 'cp file another && mv another file'.
5) On B: 'stat file' results in 'stat: cannot stat `file': Stale NFS file handle for a long time (~minutes).
6) On B: 'ls .' or 'touch file' or 'cat file >/dev/null' (open()ing the file or reading the directory containing the file) makes 'stat file' work normally again.