[Csync2] alternate /tmp directory

Lars Ellenberg lars.ellenberg at linbit.com
Mon Nov 28 22:01:11 CET 2011


On Mon, Nov 28, 2011 at 02:27:33PM +0100, Charles Williams wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 11/28/2011 02:07 PM, Art -kwaak- van Breemen wrote:
> > Hi,
> > On Mon, Nov 28, 2011 at 02:00:37PM +0100, Charles Williams wrote:
> >> I just found the config file option tempfile by searching the git rep
> >> (maybe something like configuration file options should be documented.
> >> not sure but it would seem to me why documentation exists). so will try
> >> that now.
> > 
> > Cool, it means it was accepted ;-). 
> > (I've replaced the 12M file cluster csync with mogilefs, so I
> > haven't been following it).
> > 
> > But about the documentation: actually there is none. The best
> > documentation is the help from csync2 itself and the source code.
> > 
> > One of the biggest things lacking in the documentation is:
> > csyncs -TUI or better:
> > csync2 -T <this source host> <new empty dest host> -UI
> > to run in a new server in a cluster.
> > It will actually make a dirty list based on database differences.
> > The database of a new host is empty, so it wil get all files from
> > the source host.
> 
> 
> OK. here's the deal. your patch is NOT in 1.34 and the patch doesn't
> apply cleanly. but I did the patch per hand, reconfigured, make, make
> install and it seems to work now.
> 
> thanks for the info. will post this on my wiki to make sure it doesn't
> disappear.

It is in what will be 2.0: http://git.linbit.com/csync2.git
git clone git://git.linbit.com/csync2.git

Sorry, I still need to find time to do a proper release, and I have yet
some commits and uncommitted changes in my local checkout to tidy up.
Yes, some even are updates to the "csync2 paper".

At least I pushed some of the fixes that have been ready to be
pushed for a while now.

This defaults to generate the temp file just beneath the target file,
and also to just rename the temp file over target file if possible,
instead of truncating the target file, and copy all the tempfile into
the target *again* (as 1.x does).

Cheers,


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


More information about the Csync2 mailing list