when reading a large directory from an NFS server, I'm not getting the full file list on a CentOS 6.3 client (2.6.32-279.19.1.el6.x86_64, also on 2.6.32-279.1.1.el6.x86_64)<br />
<br />
# ls | wc -l<br />
ls: reading directory .: Too many levels of symbolic links<br />
1926<br />
<br />
with multiple of these in the dmesg logs:<br />
Dec 28 19:24:30 machine kernel: NFS: directory /directory contains a readdir loop.Please contact your server vendor. The file: filename.ps has duplicate cookie 641706345<br />
<br />
<br />
While this is what I'm expecting (and what I'm seeing on some 32-bit and 64-bit CentOS-5 clients, and from time to time on 64-bit CentOS 6 too, it seems. But almost never when I explicitly try it.)<br />
# ls | wc -l<br />
6436<br />
<br />
I've seen this causing IO errors in rsync, breaking filename completion in shells, and more. Actual file access by name isn't impacted as far as I can see.
↧