[Csync2] csync2 prefix mapping ==> I/O Error 'No such file or directory' in rsync-check
Samba
saasira at gmail.com
Mon May 21 11:42:41 CEST 2012
Hi Lars,
I'm facing an issue with syncing files to alternate locations via prefix
mapping.
Here is my config:
group smgr_core
{
host master;
host (slave);
key /etc/csync2/csync2.key;
include %_var_net-snmp%;
backup-directory /var/backups/csync2;
backup-generations 3;
auto left;
}
prefix _var_net-snmp
{
on host[master]: /var/net-snmp;
on *: /opt/trap_listener;
}
Errors:
While syncing file %_var_net-snmp%/snmpd.conf:
ERROR from peer(%_var_net-snmp%/snmpd.conf): slave File is also marked
dirty here!
Auto-resolving conflict: Won 'master/slave' test. [but did not sync the
file]
I/O Error 'No such file or directory' in rsync-check:
/opt/trap_listener/mib_indexes/0
While syncing file %_var_net-snmp%/mib_indexes:
ERROR from peer(%_var_net-snmp%/mib_indexes): slave octet-stream 36
These errors seems to be the same as those mentioned by *Dennis Schafroth *
in the mail thread given below:
http://lists.linbit.com/pipermail/csync2/2011-May/000758.html
which also contains a patch for the issue.
Can you confirm if the patch has been applied to the source on Git trunk?
If not, are there any plans to commit that patch or do you have a different
idea about the fix? I can test the patch verify if it works for me also but
it is better to build a stable rpm with the original source from trunk
rather than internal modifications, hence requesting you to commit the
patch if you agree with the fix
Thanks and Regards,
Samba
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/csync2/attachments/20120521/809eee81/attachment.htm>
More information about the Csync2
mailing list