replicating a live directory

Jan-Benedict Glaw jbglaw at lug-owl.de
Thu Apr 3 00:28:40 GMT 2008


On Wed, 2008-04-02 19:20:09 -0400, Matt McCutchen <matt at mattmccutchen.net> wrote:
> On Wed, 2008-04-02 at 19:15 -0400, Clark wrote:
> > Matt McCutchen wrote:
> > > It's not clear to me how a filesystem snapshot would solve the problem.
> > > It guarantees that rsync sees an instantaneous state of the filesystem,
> > > but that state could still include files that are half-modified by other
> > > programs.
> > > 
> > I shut everything down so that it is not "live", do a snapshot, then let
> > people go again.  It is not perfect, but the snapshot process takes only
> > a second or two, then people can work for the hours it takes for rsync
> > to run.
> 
> Good point.  A filesystem snapshot doesn't avoid the need to stop the
> services, but it greatly reduces the length of the downtime.

Live replication--one day I'll play with it again.

Another approach could be a shared device (think nbd) with a
sync-mounted filesystem.

MfG, JBG

-- 
      Jan-Benedict Glaw      jbglaw at lug-owl.de              +49-172-7608481
Signature of: They that give up essential liberty to obtain temporary safety,
the second  : deserve neither liberty nor safety.  (Ben Franklin)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.samba.org/archive/rsync/attachments/20080403/3dfb22c3/attachment.bin


More information about the rsync mailing list