[Csync2] Can't stat file - csync2 stopped.

Lars Ellenberg lars.ellenberg at linbit.com
Thu Jan 8 10:54:09 CET 2009


On Wed, Jan 07, 2009 at 02:32:24PM +0100, Martin Bene wrote:
> On Wed, Jan 07, 2009 Art -kwaak- van Breemen wrote:
> > On Wed, Jan 07, 2009 at 11:40:24AM +0000, Prashant Ramhit wrote:
> > > Size of final.mov = 3.2GB
> > > Is there a file limitation for csync2?
> >
> > Well, it's long fixed in svn. The problem was a simple define to
> > allow for 64 bit file sizes.
> >
> > Compile svn, or request your package maintainer to incorporate
> > the patches in their stable build.
> >
> > If the 64 bit patch is already in that version, you might be
> > working on a filesystem that does not support 64 bit filesizes.
> > This applies f.i. to nfs version 2 (I just found out that
> > nfs-kernel-server in debian refuses to use version3 if your
> > /etc/hosts is somewhat different).
> 
> As far as I can tell, the fix is not in the generic sources but
> "tacked on" using packaging mechanisms (RPM specfile and debian rule).
> Installing from source tar.gz won't include the required define.
> Wouldn't a fix at the automake/autoconf level be more apropriate?

right.

> i.e: add
>         AC_SYS_LARGEFILE
> to configure.ac

ok, will do that.

> While this works just fine for me it could fail for some weird cases
> where LARGEFILE support is broken - rsync autoconf uses a more complex
> setup to determine LARGEFILE support:
> 
> # arrgh. libc in some old debian version screwed up the largefile
> # stuff, getting byte range locking wrong

well, if the sole reason is that "some old debian versions screwed up",
then I really don't care...

-- 
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.


More information about the Csync2 mailing list