Hi

I've created this config:

# please see the REAMDE file how to configure csync2
group gv {
        host gvsrv01 gvsrv02;

        key /etc/csync2.key;

        include /etc/hosts;
        include /etc/exports;
        include /etc/ldap.*;
        include /etc/pam.d;
        include /etc/apt;
        include /etc/drbd.d;
        include /etc/apache2;
        include /etc/dnsmasq.d;
        include /etc/corosync;
        include /etc/cups;
        include /etc/hylafax;
        include /etc/mysql;
        include /etc/samba;
        
        exclude *~;

        backup-directory /var/backups/csync2;
        backup-generations 3;
}


gvsrv02 is actually the "master" holding latest config files. 
on gvsrv01 i removed and reinstalled drbd, so I wanted to update config, but if 
I run csync -xv on gvsrv02 the file /etc/drbd.d/global_common.conf IS NOT 
updated. Full debug attached.

Match (+): /etc/drbd.d on /etc/drbd.d
Checking /etc/drbd.d.
SQL: SELECT checktxt FROM file WHERE filename = '/etc/drbd.d'
SQL Query finished.
Checking /etc/drbd.d/* ..
Match (+): /etc/drbd.d on /etc/drbd.d/global_common.conf
Checking /etc/drbd.d/global_common.conf.
SQL: SELECT checktxt FROM file WHERE filename = '/etc/drbd.d/global_common.conf'
SQL Query finished.
Match (+): /etc/drbd.d on /etc/drbd.d/drbddati.res
Checking /etc/drbd.d/drbddati.res.
SQL: SELECT checktxt FROM file WHERE filename = '/etc/drbd.d/drbddati.res'
SQL Query finished.
Don't check at all: /etc/drbd.conf


Also, why is it scanning the WHOLE filesystem from /, even if config has 
specific files to sync?


thanks
-- 
Lorenzo Milesi - lorenzo.mil...@yetopen.it

GPG/PGP Key-Id: 0xE704E230 - http://keyserver.linux.it

Attachment: csynclog.gz
Description: GNU Zip compressed data

_______________________________________________
Csync2 mailing list
Csync2@lists.linbit.com
http://lists.linbit.com/mailman/listinfo/csync2

Reply via email to