Re: [Csync2] csync2 prefix mapping == I/O Error 'No such file or directory' in rsync-check

2012-07-19 Thread Lars Ellenberg
On Tue, Jul 17, 2012 at 10:44:13PM +0530, Samba wrote: Hi Lars, I have updated the patch to also sync the complete directory tree, but in the subsequent run. Thanks. Sorry for response times, swamped. Though I should find some time for csync2 next week. I tried to make it sync in the same

Re: [Csync2] csync2 prefix mapping == I/O Error 'No such file or directory' in rsync-check

2012-09-06 Thread Lars Ellenberg
On Wed, Sep 05, 2012 at 11:52:25PM +0530, Samba wrote: Hi Lars, Did you get a chance to review the patch? If you see a need for any additions/corrections to be made, then do let me know so that i can work on updating the patch accordingly. Now that we have drbd 8.4.2 out of the door, and

Re: [Csync2] csync2 prefix mapping == I/O Error 'No such file or directory' in rsync-check

2012-09-17 Thread Lars Ellenberg
On Thu, Sep 06, 2012 at 10:40:46AM +0200, Lars Ellenberg wrote: On Wed, Sep 05, 2012 at 11:52:25PM +0530, Samba wrote: Hi Lars, Did you get a chance to review the patch? If you see a need for any additions/corrections to be made, then do let me know so that i can work on updating

Re: [Csync2] csync2 prefix mapping == I/O Error 'No such file or directory' in rsync-check

2012-09-17 Thread Lars Ellenberg
On Mon, Sep 17, 2012 at 09:08:55PM +0530, Samba wrote: Thanks Lars, do let me know if i can be of any help to you in this. Please, everyone, checkout what is in http://git.linbit.com/gitweb.cgi?p=csync2.git;a=shortlog;h=refs/heads/for-review-may-be-rebased-without-notice git clone

Re: [Csync2] owner of files when sync on nodes

2012-09-25 Thread Lars Ellenberg
permission for csync2? I can't find any configuration option about. -- : 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

[Csync2] How to contribute to csync2 [Was: Using Csync2 when hosts are not resolved by dns]

2012-10-27 Thread Lars Ellenberg
format-patch -k origin/master and then attaching the generated diffs to some email yourself. or by git send-email --dry-run --to csync2@lists.linbit.com origin/master (leave off the dry-run, if that in fact did what you intended) Thanks, Lars -- : Lars Ellenberg : LINBIT | Your Way

Re: [Csync2] Syntax error on lock-timeout

2013-05-27 Thread Lars Ellenberg
On Sun, May 26, 2013 at 07:55:49PM -0700, Gary E. Miller wrote: Yo Francisco! On Sun, 26 May 2013 12:23:10 -0400 Francisco Reyes li...@natserv.net wrote: On 05/26/2013 02:41 AM, Gary E. Miller wrote: And got an error: Database backend is exceedingly busy = Terminating (requesting

Re: [Csync2] Darwin/OS X pull request forwarded

2013-12-04 Thread Lars Ellenberg
On Tue, Dec 03, 2013 at 10:13:20AM -0500, Michael Johnson wrote: In my github repository that I used to provide test case updates, I got a pull request for Darwin/OS X support... https://github.com/mikjo/csync2/pull/1 I'm not going to pull those onto my master branch, since my master

Re: [Csync2] prefix works except when file is specified

2014-07-10 Thread Lars Ellenberg
On Thu, Jul 10, 2014 at 01:53:20AM -0400, dlo wrote: Lars- I see it's not so far off, but definitely not a drop-in replacement (already ran into some problems). It worries me to make so many changes to a system that's been working so well for so long... is there really no hope for getting

Re: [Csync2] lock-timeout

2014-07-18 Thread Lars Ellenberg
, and documents the lock-timeout configuration option. Lars http://git.linbit.com/gitweb.cgi?p=csync2.git;a=blob;f=cfgfile_scanner.l#l69 http://git.linbit.com/gitweb.cgi?p=csync2.git;a=blob;f=doc/csync2_paper.tex#l451 Oops, typo there, s/wor/for/ ;-) -- : Lars Ellenberg : LINBIT | Your Way

Re: [Csync2] Modification time is being rounded

2014-08-08 Thread Lars Ellenberg
On Wed, Aug 06, 2014 at 11:51:00AM -0400, Al Faller wrote: Hi, I am working with csync2 on centos, utilizing lsync as documented in this blog post: https://www.krystalmods.com/index.php?title=csync2-web-server-file-syncmore=1c=1tb=1pb=1 Unfortunately, I have noticed that csync2 seems to

Re: [Csync2] backup cleanup or blacklist?

2014-08-08 Thread Lars Ellenberg
that don't need backup, excluding eveything else. In the other groups, those that enable backup, exclude all files that don't need backup, they are covered by the other (no-backup) group. -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com

Re: [Csync2] Csync2 2.0

2014-10-10 Thread Lars Ellenberg
it as is, and report issues you are having here. Lars Ellenberg ___ Csync2 mailing list Csync2@lists.linbit.com http://lists.linbit.com/mailman/listinfo/csync2

Re: [Csync2] Dirty list get larger and larger

2015-11-02 Thread Lars Ellenberg
oblem but not how csync2 handles the database of > dirty files. > > Interestingly is that when csync2 2.0 sync with csync2 1.34, the dirty > table empties accordingly with message: > > File is already up to date on peer. > > It does not matter which computer I run cs

Re: [Csync2] Younger/older test tied

2015-11-02 Thread Lars Ellenberg
nger" would be changed to "younger", but if same time stamp, "first" (the guy who first called csync2 --update wins) maybe that should be made explicit, though, rather than implicitly by only changing less-than to less-than-or-equal. At least it deserves some chang

Re: [Csync2] Patchwork to running on musl libc and some cleanups

2015-10-12 Thread Lars Ellenberg
it here. Best place to send patches for csync2. Thanks, looks innocent enough ;-) > - xxprintf(":type=reg:size=%Ld", (long long)st->st_size); > + xxprintf(":type=reg:size=%lld", (long long)st->st_size); Cheers, -- : Lars Ellenberg :

Re: [Csync2] Logfile Issues

2015-10-12 Thread Lars Ellenberg
On Sat, Oct 10, 2015 at 09:21:37PM -0400, Brian Blater wrote: > On Mon, Sep 28, 2015 at 11:11 AM, Lars Ellenberg <lars.ellenb...@linbit.com> > wrote: > > > On Sat, Sep 26, 2015 at 09:28:16PM -0400, Brian Blater wrote: > > > This is what I have in the

Re: [Csync2] Logfile Issues

2015-09-28 Thread Lars Ellenberg
. > > Any help would be greatly appreciated. If you want csync2 to log what it does, you have to increase its "verbosity" (add -v...), and possibly tell it to use syslog. it usually should redirect to syslog anyways, if it detects that it has no tty. -- : Lars Ellenberg : http:

Re: [Csync2] Csync -M doesn't work as espected

2015-11-23 Thread Lars Ellenberg
notice: alice.demo# csync2 -cvr / Marking file as dirty: /csync2/demo/something ask it again: alice.demo# csync2 -M chary alice.demo bob.demo/csync2/demo/something works as expected (for me). What did you expect? -- : Lars Ellenberg : http://www.LINBIT.com | Your Way to High Ava

Re: [Csync2] [patch] document -N

2016-04-27 Thread Lars Ellenberg
On Wed, Apr 27, 2016 at 11:43:35AM +1000, Aristedes Maniatis wrote: > Lars Ellenberg wrote: > > > You do realize that there is a git beyond github? > > Yes. I and I know you are only joking. But there are big advantages IMO to > using github. Everyone expects you to be ther

Re: [Csync2] ipv6 problems

2016-04-27 Thread Lars Ellenberg
On Wed, Apr 27, 2016 at 06:49:21PM +1000, Aristedes Maniatis wrote: > On 27/04/2016 11:45am, Aristedes Maniatis wrote: > > On 19/04/2016 9:14pm, Lars Ellenberg wrote: > >> I don't think so. > >> It's supposed to bind to something that is suitable for *both* IPv6 and

Re: [Csync2] Issue with the auto-backup feature. A bug?

2016-05-02 Thread Lars Ellenberg
in some cases. This optional "debug" logging of csync2 is badly grown $swearword_of_choice; actually fixing that might take some time. -- : Lars Ellenberg : LINBIT | Keeping the Digital World Running : DRBD -- Heartbeat -- Corosync -- Pacemaker : R, Integration, Ops, Consulting

Re: [Csync2] ipv6 problems

2016-04-20 Thread Lars Ellenberg
On Wed, Apr 20, 2016 at 04:28:26PM +1000, Aristedes Maniatis wrote: > On 19/04/2016 9:14pm, Lars Ellenberg wrote: > > You can tell it to bind to "-N your.node.name". > > If not specified, it will use the "any" address > > (pass a NULL node to getaddrinfo)

Re: [Csync2] How to Ignore a file but keep it in sync

2016-04-20 Thread Lars Ellenberg
On Sun, Apr 03, 2016 at 01:44:08PM +0300, Rabin Yasharzadehe wrote: > I like to monitor a folder for syncing, but to ignore a specific file, > but still sync all the folder if any other file will change. > > e.g > > monitor the folder /tftpboot > ignore the file /tftboot/.git/index > > the file

Re: [Csync2] ipv6 problems

2016-04-21 Thread Lars Ellenberg
On Wed, Apr 20, 2016 at 08:49:43PM +1000, Aristedes Maniatis wrote: > On 20/04/2016 8:29pm, Lars Ellenberg wrote: > > man page is generated (mostly) via help2man, > > so the --help message is the relevant source, > > feel free to add a paragraph. > > Do you have an auth

Re: [Csync2] Csync failing with xinetd, working in standalone mode

2016-09-19 Thread Lars Ellenberg
tty system_u:object_r:getty_exec_t:s0 > /sbin/init system_u:object_r:bin_t:s0 -> > system_u:object_r:init_exec_t:s0 > /usr/sbin/sshd system_u:object_r:sshd_exec_t:s0 > /lib/libc.so.6 system_u:obje

Re: [Csync2] Ignore sockets ...

2016-09-19 Thread Lars Ellenberg
hen be replicated as removal. If you control the placement or naming conventions of those sockets, I'd suggest you put them in a sub directory, or otherwise add an easily excluded prefix/suffix to their name. Cheers, Lars Ellenberg ___ Csync2 mailing

Re: [Csync2] 2-node masters and root-owned files

2017-08-15 Thread Lars Ellenberg
On Mon, Aug 14, 2017 at 07:00:23AM +0400, Vadim Abdulayev wrote: > Hello. When replying to digests, please change the subject appropriately. (Digest mode on a list that is so low volume as this one is not useful anyways, really.) > All command executed on node1. > > After resync i receive wrong

Re: [Csync2] 2-node masters and root-owned files

2017-08-08 Thread Lars Ellenberg
On Tue, Aug 08, 2017 at 11:04:49AM +1000, Aristedes Maniatis wrote: > On 8/8/17 10:06AM, Lars Ellenberg wrote: > > but in this case, until proven otherwise, > > I suspect you have some git command on the other node > > running as root, and updating the index file there. >

Re: [Csync2] 2-node masters and root-owned files

2017-08-07 Thread Lars Ellenberg
nection closed. > Finished with 0 errors. and to csync2 the sync looks as if it was ok. debug level logs and maybe even strace from the "receiving" side would be interesting. but in this case, until proven otherwise, I suspect you have some git command on the other node running as ro

Re: [Csync2] csync2 - Reaction to SIGTERM

2017-08-07 Thread Lars Ellenberg
you talking about win32 cygwin cs2monitor? That will "killall" csync2 processes, and then "restart" (rather: recycle) itself. -- : Lars Ellenberg : LINBIT | Keeping the Digital World Running : DRBD -- Heartbeat -- Corosync -- Pacemaker : R, Integration, Ops, Consu

Re: [Csync2] 3-node masters and root-owned files

2017-08-07 Thread Lars Ellenberg
On Wed, Aug 02, 2017 at 08:58:05PM -0500, Kevin Cackler wrote: > For those of you guys who are experiencing this issue: I noticed tonight, > after this happened yet again, that one of my files was owned by UID 1012 on > node3. The problem is that that uid does not exist on node3. That uid DOES >

Re: [Csync2] csync2 - Reaction to SIGTERM

2017-08-07 Thread Lars Ellenberg
ext. It should not be too hard to add a signal handler to unlink the "current" tempfile on INT / TERM / ... but as is, that is not implemented. -- : Lars Ellenberg : LINBIT | Keeping the Digital World Running : DRBD -- Heartbeat -- Corosync -- Pacemaker : R, Integration, Ops, Consult

Re: [Csync2] 2-node masters and root-owned files

2017-08-07 Thread Lars Ellenberg
On Fri, Aug 04, 2017 at 11:01:17AM +0400, Vadim Abdulaev wrote: > Hello. > > I have a problem with Csync2 replication. 2 servers with centos 7 and > csync2.0.2 (from okay repo). Files owner name, user ID and group ID are > same on each server. > > Sometimes, on only 2 files owner changed to