On 6/12/06, John Oliver <[EMAIL PROTECTED]> wrote:
On Mon, Jun 12, 2006 at 02:01:02PM -0700, John H. Robinson, IV wrote:
> John Oliver wrote:
> > I'm looking for a way to keep files in two directories synched, either
> > in realtime or as close to as possible. The two directories are NFS
> > mounts to different NASes (which run Windows... not my choice, but
> > nothing to be done for it now!).
> >
> > I was a little surprised to see that rsync won't do it.
>
> Are you trying to replicate changes from one to the other?
Yes. But in both directions... one NAS is primarily used for one
system, and the other the other. But there's no reason why they can't
be available to back each other up.
> I can see two rsync processes, one to the other, to update each
> directory to the other, on a rapid timeframe. Such as once a minute.
Except they run Windows :-)
Sanity check time. I hope you aren't trying to push changes to any
specific file in both directions. It seems to me that the only way
you can avoid some peculiar loop or deadlock conditions is to start by
specifying that only computer A can write to file system A, and
computer B can write to file system B. But both computers can read
both file systems.
Somehow this is getting into the design of a SAN (Storage Area
Network) about which I know very little.
carl
--
carl lowenstein marine physical lab u.c. san diego
[EMAIL PROTECTED]
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list