Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Dec 2015 12:57:17 -0600
From:      dweimer <>
To:        Jeremy Gransden <>
Subject:   Re: Mirroring samba file server.
Message-ID:  <>
In-Reply-To: <>
References:  <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On 2015-12-18 12:32 pm, Jeremy Gransden wrote:
> I have a network with 8 remote sites. 7 of the 8 can use the main
> samba file server without much issue with latency. I have one location
> where the latency is really high. I was thinking of adding a 2nd samba
> server in that location and mirroring the 1st one. Has anyone done a
> setup similar to this? What should I use to sync the 2 servers? Both
> servers will be running FreeBSD 10.2 on ZFS. Would zfs send/receive
> work on live data or would rsync be better?
> thanks for your help,
> j

You need to describe more about what you are trying to do, I don't 
believe neither ZFS send/receive or rsync will work if you want to be 
able to edit data on both and keep them in sync. However if the remote 
server is going to serve read only reference data for the site, and 
changes are only made to the parent they will work. However ZFS may 
require the receiving dataset to be dismounted in order to receive the 
changes, but I could be wrong.

You may also want to look at /usr/ports/net/unison:

cat /usr/ports/net/unison/pkg-descr
Unison is a file-synchronization tool for Unix and Windows. It allows 
replicas of a collection of files and directories to be stored on 
hosts (or different disks on the same host), modified separately, and 
brought up to date by propagating the changes in each replica to the 

Unison shares a number of features with tools such as configuration
management packages (CVS, PRCS, etc.) distributed filesystems (Coda, 
uni-directional mirroring utilities (rsync, etc.) and other 
(Intellisync, Reconcile, etc).

    Dean E. Weimer

Want to link to this message? Use this URL: <>