[SUMMARY] Mirroring filesystem over NFS.

From: Ian Mortimer <ian_at_physics.uq.edu.au>
Date: Tue, 20 Oct 1998 15:14:01 +1000

Hi DU Admins

My question was:

  I need to mirror some large filesystems on two different hosts.
  This has to be an exact mirror with permissions, ownership
  and time stamps the same.

  I can NFS mount the source file system onto the mirror host and
  tar the files across but this isn't satisfactory because:

     It's inefficient since it copies all files every time
     even though most of them haven't changed.

     To do it safely needs twice as much disk space on the
     mirror as on the source.

  Does such a tool exist? I don't want to reinvent the wheel.

Thanks to Gyula Szokoly, Richard Sharpe, John Robens, Jim Belonis
and Rob Mayfield.

The suggestions were rdist, rsync, SRFS and mirror.

I don't want to use rdist because we have rsh disabled here for
security reasons. Also I'm not sure that rdist preserves links,
ownership, permissions and time stamps on all types of files.

SRFS is a commercial product. You can find out more about it
at:

   http://www.uniq.com.au/

or http://www.veritas.com/

I decided to try rsync. It built and installed very easily and
based on a few simple tests I just ran does exactly what I want.

You don't need to use rsh with rsync. You can use ssh which we
have installed here but in this case since I can NFS mount the
source I don't need either. The rsync home is at:

   http://samba.anu.edu.au/rsync/


Ian

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/ Ian Mortimer _/
_/ ian_at_physics.uq.edu.au ,-_|\ Department of Physics _/
_/ Tel: +61 7 3365 3436 / *\ University of Queensland _/
_/ Fax: +61 7 3365 1242 \_,-._/ St. Lucia, Brisbane _/
_/ v Queensland, Australia 4072 _/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Disclaimer: Speaking only for myself.
Received on Tue Oct 20 1998 - 05:14:58 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:38 NZDT