[Csync2] No Logs, No Sync

prashant prashant at bluebarracuda.com
Thu Apr 12 16:56:18 CEST 2007


Hi All,
I am configuring csync2 version1.33. But its not synchronizing.
Even csync -xv is giving me errors like

ERROR from peer drbd1: File is also marked dirty here!

Questions:
1. How to get logs as i do not find logs
2. How do I get the files cleaned (Not dirty)
3. How to get csync2 synchronising automatically.

My csync2.cfg

# Csync2 Example Configuration File
# ---------------------------------
#
# Please read the documentation:
# http://oss.linbit.com/csync2/paper.pdf

 group mygroup
 {
        host node1 node2;

        key /etc/cy.key;

        include /replicate;

        action
        {
                logfile "/var/log/csync2_action.log";
                do-local;
        }

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

        auto none;
 }

 prefix homedir
 {
        on host[12]: /export/users;
        on *:        /home;
 }


NOTE: Both nodes can communicate with each other and starts on ports 30865

Please tell me what is wrong with this config.

Many thanks
Prashant



More information about the Csync2 mailing list