Speeding Up Rsync for Large File Sets

Kevin Korb kmk at sanitarium.net
Fri Nov 30 11:03:56 MST 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

You are missing the snapshot part of it.  You send/receive a snapshot
then both ends have the same snapshot.

On 11/30/12 13:00, Tim Gustafson wrote:
>> If you are using zfs then why not use zfs send and zfs receive?
>> 
>> Rsync has to stat every file on both ends which can take a long
>> time with millions of files.  The zfs tools don't have to do any
>> of that.
> 
> Because zfs send/receive doesn't work well if the target file
> system ever gets changed, even for something like an atime.
> Basically, the file system can't be touched on the remote end, and
> you can't even set the read-only property, because that would be a
> filesystem-level change that wouls break the send/receive.  Unless
> I'm not understanding something.
> 

- -- 
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
	Kevin Korb			Phone:    (407) 252-6853
	Systems Administrator		Internet:
	FutureQuest, Inc.		Kevin at FutureQuest.net  (work)
	Orlando, Florida		kmk at sanitarium.net (personal)
	Web page:			http://www.sanitarium.net/
	PGP public key available on web site.
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlC49QwACgkQVKC1jlbQAQc8FgCg/4yhqZZe03SF+DUhH7xVNIJV
AoIAn1a37QZlo8YlOnbuEp1orHyASzuh
=SinR
-----END PGP SIGNATURE-----


More information about the rsync mailing list