Date: Mon, 21 Dec 2015 10:19:44 -0500 From: Jeremy Gransden <jeremy.gransden@gmail.com> To: dweimer@dweimer.net Cc: freebsd-questions@freebsd.org Subject: Re: Mirroring samba file server. Message-ID: <CALi7Q_q-0WKx5OR8SLPLmyJU4R2E02Wp6z_Jr-C7haVLDsaFJA@mail.gmail.com> In-Reply-To: <54e56a60ef4e4b51fbdc137f037a60c0@dweimer.net> References: <CALi7Q_o1MNHbrT8ghvexnYmtJ9BJpn8kcq5RDr8v8OVi0OboyA@mail.gmail.com> <54e56a60ef4e4b51fbdc137f037a60c0@dweimer.net>
next in thread | previous in thread | raw e-mail | index | archive | help
This looks like what I need. thank you, j<div id="DDB4FAA8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><table style="border-top: 1px solid #aaabb6; margin-top: 10px;"> <tr> <td style="width: 105px; padding-top: 15px;"> <a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail" target="_blank"><img src="https://ipmcdn.avast.com/images/logo-avast-v1.png" style="width: 90px; height:33px;"/></a> </td> <td style="width: 470px; padding-top: 20px; color: #41424e; font-size: 13px; font-family: Arial, Helvetica, sans-serif; line-height: 18px;">This email has been sent from a virus-free computer protected by Avast. <br /><a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail" target="_blank" style="color: #4453ea;">www.avast.com</a> </td> </tr> </table><a href="#DDB4FAA8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"></a></div> On Fri, Dec 18, 2015 at 1:57 PM, dweimer <dweimer@dweimer.net> wrote: > 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 two > replicas of a collection of files and directories to be stored on different > hosts (or different disks on the same host), modified separately, and then > brought up to date by propagating the changes in each replica to the other. > > Unison shares a number of features with tools such as configuration > management packages (CVS, PRCS, etc.) distributed filesystems (Coda, etc.) > uni-directional mirroring utilities (rsync, etc.) and other synchronizers > (Intellisync, Reconcile, etc). > > -- > Thanks, > Dean E. Weimer > http://www.dweimer.net/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALi7Q_q-0WKx5OR8SLPLmyJU4R2E02Wp6z_Jr-C7haVLDsaFJA>