Prompt to synchronize two volumes ZFS

Borja Marcos borjam at sarenet.es
Tue Apr 19 08:31:00 UTC 2011


On Apr 18, 2011, at 10:15 PM, Artem Belevich wrote:

> They mentioned performance. mbuffer in-between receive and send makes
> *a lot* of difference as long as you provide few seconds worth of
> buffering at the rate your filesystems can sustain. I think the
> authors of the page above just didn't use large enough buffer. You
> would probably have to experiment yourself. In my case of ~3TB
> transfer (mostly large files), I ended up with "mbuffer -m512M". I
> also used mbuffer's built-in network transfer mechanism (see mbuffer's
> -I/-O options) as at high data rates ssh became the bottleneck.

Moreover, although ZFS receive seems to be robust in case a replication stream is interrupted, I find it much more safer to move the stream beforehand, and start the zfs receive with a complete stream.




Borja.



More information about the freebsd-fs mailing list