(Jun 16 2005 10:55) Mikael Bak wrote: > On Thu, 2005-06-16 at 10:31, Ariën Huisken wrote: > > Yes, very interested, please post it. Does this also work when files on > > _both_ > > sides are created, modified and deleted? > > > > Arien, > I don't think rsync can manage the situation you describe where both > sides can change. > > I hope I'm wrong though.
You are not wrong. Two different filesystems on two different disks will not be able to handle things like multiple opens of files, files being deleted on one server, saved on the other, etc, etc. What you want is a maybe raid1 (mirroring) over a networked block device: http://www.it.uc3m.es/~ptb/nbd/ This way you have 1 filesystem, although I'm not sure if this will work in a "access on both sides" setup. I have never done this and have no idea about speed issues etc, but it should work. There might still be a problem with two machines trying to access the same file at the same time by different users though. If the idea is to have samba shares on different networks, they could perhaps offer the share to each other, either as smb shares, or using nfs? Or introducing a third server that holds the actual files and serves via nfs? > I remember reading about solving this kinds of issues on the file system > level (using an alternate fs). But perhaps someone who knows what he/she > is talking about can take over from here... :-) A netowrked filesystem will better handle this than rsync. c -- Christian H. Toldnes Trustix Developer _______________________________________________ tsl-discuss mailing list [email protected] http://lists.trustix.org/mailman/listinfo/tsl-discuss
