[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: Joachim Worringen <joachim_at_dolphinics.com>
Date: 2006-10-27 17:41:32 CEST

Malcolm Rowe wrote:
> 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.

That seems to be the reason, thanks. We run CentOS 4.3 (Kernel 2.6.9-34)
on these boxes. Would an upgrade to 4.4 solve the problem? You see, I'm
not an expert in this Linux version jungle...

  regards, Joachim

-- 
Joachim Worringen, Software Architect, Dolphin Interconnect Solutions
phone ++49/(0)228/324 08 17 - http://www.dolphinics.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Oct 27 17:41:54 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.