[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn checkout on NFS fails (missing fsync()?)

From: Malcolm Rowe <malcolm-svn-dev_at_farside.org.uk>
Date: 2006-10-27 02:41:56 CEST

On Fri, Oct 20, 2006 at 08:55:19AM +0200, Joachim Worringen wrote:
> I checked with strace and found this sequence being the culprit:
>
> This means, svn writes to a file (here, 227 bytes) which in my setup is
> mounted via NFS, and checks it's size directly afterwards. NFS returns
> an outdated size (0 bytes), which then causes the error when used for
> 'Content-Length' in the REPORT request.
>

This seems to be a specific problem in a few NFS clients - fstat() over
NFS normally works fine.

For example, RHEL4U4 (but not RHEL4U3) and derived (CentOS, WBEL)
kernels appear to have this problem, see:
http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=194088

If that is the problem you're having, you may find that if you mount the
filesystem with either the 'sync' or 'noac' mount options, things start
working.

Regards,
Malcolm

  • application/pgp-signature attachment: stored
Received on Fri Oct 27 02:42:20 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.