From owner-freebsd-fs@freebsd.org Tue Oct 4 07:30:58 2016 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0C2DFAF4EB4 for ; Tue, 4 Oct 2016 07:30:58 +0000 (UTC) (envelope-from maurizio.vairani@cloverinformatica.it) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id ED94A254 for ; Tue, 4 Oct 2016 07:30:57 +0000 (UTC) (envelope-from maurizio.vairani@cloverinformatica.it) Received: by mailman.ysv.freebsd.org (Postfix) id ECEB1AF4EB1; Tue, 4 Oct 2016 07:30:57 +0000 (UTC) Delivered-To: fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EC91EAF4EAF for ; Tue, 4 Oct 2016 07:30:57 +0000 (UTC) (envelope-from maurizio.vairani@cloverinformatica.it) Received: from host202-129-static.10-188-b.business.telecomitalia.it (host202-129-static.10-188-b.business.telecomitalia.it [188.10.129.202]) by mx1.freebsd.org (Postfix) with ESMTP id A5526253 for ; Tue, 4 Oct 2016 07:30:56 +0000 (UTC) (envelope-from maurizio.vairani@cloverinformatica.it) Received: from [192.168.0.60] (MAURIZIO-PC [192.168.0.60]) by host202-129-static.10-188-b.business.telecomitalia.it (Postfix) with ESMTP id C9C4B12A933; Tue, 4 Oct 2016 09:30:47 +0200 (CEST) Subject: Re: zfs send for compressed fs without decompression To: Ben RUBSON , fs@FreeBSD.org References: <57F258FF.5010305@rdtc.ru> <28B40866-0898-4CD9-AABA-77189F4AA558@gmail.com> Cc: Eugene Grosbein From: Maurizio Vairani Message-ID: <099b3620-8523-c660-7a6a-884deb783a25@cloverinformatica.it> Date: Tue, 4 Oct 2016 09:30:46 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <28B40866-0898-4CD9-AABA-77189F4AA558@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Oct 2016 07:30:58 -0000 Il 03/10/2016 17:45, Ben RUBSON ha scritto: >> On 03 Oct 2016, at 15:11, Eugene Grosbein 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@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@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