Does CTDB work over WAN networks...?

Jeremy Allison jra at
Mon Oct 7 12:50:27 MDT 2013

On Mon, Oct 07, 2013 at 09:13:42AM +0100, Hafeez Bana wrote:
> Hi Everyone,
> We're planning to set up a gluster network with nufa across office branches
> exposed by samba. This should theoretically give one consistent view of the
> file system across the world but via nufa provide fast local access speeds.
> A couple of  questions:
> 1) Do we need CTDB? Does placing the tdb database on the gluster system and
> using vfs_Fileid obviate the need to have a CTDB?

Don't do that. Almost certainly this will not work.

> 2) If CTDB is needed then does CTDB work over a WAN network? I realize CTDB
> was designed for scaling and transparent failover - not quite sure it was
> designed as WAN solution

No, the latency over a WAN makes this impossible.

ctdb will not really work for what you want, it's
designed for low-latency fast network connections
(a file server in a cluster).

I'd suggest using msdfs to tie the separated
sites together instead.


More information about the samba-technical mailing list