zfs send for compressed fs without decompression
Maurizio Vairani
maurizio.vairani at cloverinformatica.it
Tue Oct 4 07:30:58 UTC 2016
Il 03/10/2016 17:45, Ben RUBSON ha scritto:
>> On 03 Oct 2016, at 15:11, Eugene Grosbein <egrosbein at rdtc.ru> wrote:
>>
>> Hi!
>>
>> Is it possible to "zfs send" snapshot of large compressed file system to store it
>> using NFS so that data does not get decompressed in process?
> Hi Eugene,
>
> I think you're waiting for this :
> https://github.com/openzfs/openzfs/pull/192
>
> Ben
> _______________________________________________
> freebsd-fs at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-fs
> To unsubscribe, send any mail to "freebsd-fs-unsubscribe at freebsd.org"
In the meantime you can use a command like this:
zfs send -v $snap | lz4 -c | ssh -c arcfour128 $desthost "lz4 -d | zfs
recv -F $destfs"
where the liblz4 package is used for compression/decompression.
Maurizio
More information about the freebsd-fs
mailing list