[plug] rsync and nfs

Mike Holland myk at plug.linux.org.au
Mon Oct 21 09:26:23 WST 2002


On Sat, 19 Oct 2002, Bernard Blackham wrote:

> I'm using rsync to make backups of my machine to an area on another
> machine mounted over nfs as such:
> 
> 	mount /backups
> 	rsync -avx --delete / /backups/machine/

Dont do this at home kids! Any kind of backup over NFS (or SMB) is going 
to be much slower than than ftp/http/rcp/rsync speeds. And possibly less 
reliable.
 
> It appears to be somewhat faster though, or am I just hallucinating?

Odd. I would have expected it to checksum the files. As Cameron said, 
using mtime & size would explain it, but seems risky, especially over NFS.
  But the ssh man page says it uses checksums.  Does NFS have a way to get 
checksums without reading the file?
 
> When running it over ssh using -c blowfish, the server repeatedly
> kills it's rsync process because it was hogging too much memory
> (only has 32MB+80MB swap), so I just stuck to NFS. 

Well NFS certainly isnt secure, so why not try plain old rsh (the default 
network protocol for rsync). Or put an rsync server on the remote host.
 

-- 
        The origin of Truth is Doubt - Socrates




More information about the plug mailing list