[Samba] CTDB_Recovery_Lock

Vogelsang, Andreas a.vogelsang at uni-muenster.de
Tue Nov 2 03:26:15 MDT 2010

Hello again,

I still got the problem with the Recovery Lock. I think it's because I declare a wrong file or that I must specify a special file typ. 
But I'm new in CTDB and maybe i be off the track? 

It would be nice if someone could help me

best regards 

Von: samba-bounces at lists.samba.org [samba-bounces at lists.samba.org] im Auftrag von Vogelsang, Andreas [a.vogelsang at uni-muenster.de]
Gesendet: Montag, 25. Oktober 2010 19:11
An: samba at lists.samba.org
Betreff: [Samba] CTDB_Recovery_Lock

Hello list,

I compiled the CTDB version from samba.org::ftp/unpacked/ctdb with the parameter: " --prefix= "
This I did on CentOS 5.5
Then I copy and edit ctdb.sysconfig from /usr/src/ctdb/config to /etc/sysconfig/ctdb

I set CTDB_RECOVERY_LOCK="/share/ctdb_lock/lock_file" on all three nodes.
Every node can read and write on /share.
When I try to start ctdb it start successful with [OK]. But it print the message "No recovery lock specified. Starting CTBD without split brain prevention."

When I start the ctdbd with the " --reclock=/share/ctdb_lock/lock_file " parameter it start's up without any problems.

At the first time we compile ctdb without set the parameter " --prefix= ". But then he put all files in /usr/local/...
For example: /usr/local/etc/ctdb/...

Why he don't take the lock file on /share/ctdb_lock/lock_file? Must this file a specific one?

Sorry if this is the wrong mailinglist for ctdb.



To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

More information about the samba mailing list