tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* [Q] Mirroring filesystem over NFS.
@ 1998-10-20  2:39 Ian Mortimer
  0 siblings, 0 replies; only message in thread
From: Ian Mortimer @ 1998-10-20  2:39 UTC (permalink / raw)
  To: tru64-unix-managers

Hi DU Admins

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.

I've thought about writing a script to do this which makes
two lists:

  Files which are new or changed on the source.
  Files which exist on the mirror but not on the source.

The script would then delete all files in the second list and
tar across all files in the first list.

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


Ian

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/                                                 Ian Mortimer _/
_/ ian@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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-10-20  2:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-10-20  2:39 [Q] Mirroring filesystem over NFS Ian Mortimer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox