[Csync2] alternate /tmp directory

Charles Williams chuck at itadmins.net
Tue Nov 29 08:07:53 CET 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/28/2011 10:01 PM, Lars Ellenberg wrote:
> 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,
> 
> 

cool. can't wait to see how it well it works. thanks for the info.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk7UhMkACgkQIUUjp07y+ZZPKgCdHlTncs/BoY1o2lQX5lxdQGAe
crYAnRmKFz8MfDcCsWLdlskoWVXwOKoM
=tN7s
-----END PGP SIGNATURE-----


More information about the Csync2 mailing list