On Wed, Aug 29, 2012 at 03:06:07PM +0200, Carlos Jiménez wrote: > I have a computer acting as an NFS Server running a Debian based > distro Could you be more specific? What kernel version exactly, and what filesystem are you exporting, and what are the export options? What version of NFS are you using? > and several hosts running CentOS 6.2 acting as NFS clients > (for a virtualization environment). Every time more often "Stale NFS > file handle" errors appear when trying to copy a file from one > directory to another (both in the nfs shared directory). I assume you're not doing anything else with either file or directory at the same time? (E.g., not deleting or renaming the file while it's being copied?) --b. > In the server side there are no related information in the logs, but > this is the output of one of the nfs clients: > > Wed Aug 29 11:52:57 2012 [TM][E]: clone: Command "cd > /var/lib/one/datastores/0/32; cp -r > ../../1/5c0455eb494fd43b5c7c576e0c642fbe > /var/lib/one/datastores/0/32/disk.0" failed: cp: reading > `../../1/5c0455eb494fd43b5c7c576e0c642fbe': Stale NFS file handle > > I've checked that path and filenames are correct. The file itself is > a 300MG sized and the error appears aprox. 30 minutes after the > start of the copy, so I guess that it doesn't finish the file copy. > I usually tried unmounting and remounting the shared directory. In > fact, initially it was enough and it was possible to fully copy the > file (after aprox. 30 minutes), moreover because the error took > place from time to time. But now, the problem persists after doing > it (even after rebooting the clients). > Additionally, I've tried doing the same operation (to copy the same > file from a directory to another) locally in the NFS Server and it > takes just a minute (aprox.). > > Could you give me advice on troubleshooting it? > > > Thanks in advance. > > Carlos. > -- > To unsubscribe from this list: send the line "unsubscribe linux-nfs" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html