[Samba] Samba Replication

Adam Williams awilliam at mdah.state.ms.us
Fri Apr 18 17:37:49 GMT 2008

what do you mean by local speed access?  you mean they need 
100mbit/gigabit speed to their files?  are they streaming DVD rips?  if 
both offices just need the same file share, look at DFS in samba.  rsync 
is one way mirroring, have you looked at Unison (two way file syncing) 
and croning it to run every minute?  

what sort of speed are the remote offices to each other?  t1's or 
dsl/cable?  you could just have one office also shared to the samba 
share on office two.  but if its anything more then files over 100K in 
size they'll notice a little latency.

Steve Francia wrote:
> Hello, I have the following situation:
> I have two offices, which both require local speed access to their file
> shares. Currently there is a single windows server that provides network
> shares to both offices, the remote one through a vpn.
> I have used Samba since the early days, and am quite familiar with it's
> capabilities and limitations, however I have never tried to perform
> replication with it.
> My current plan, which certainly has some limitations is to take 2 samba
> servers, put one in each office. Rsync the two every half an hour. This will
> provide redundancy and solve the major problem at hand, but will introduce
> new problems.
> 30 minutes is too long, and users may work on the same file simultaneously
> resulting in a conflict and changes lost.
> Has anyone approached this problem before?
> What replication options work well with the current stable build of samba?
> Is there any way to replicate when a file is locked, so the user will get
> the warning that the file is locked?
> Any feedback would be helpful, even if it is a link.
> Thanks in advance,
> Steve Francia

More information about the samba mailing list