Date: Thu, 7 Jan 2016 07:36:11 +0000 From: John <freebsd-lists@potato.growveg.org> To: freebsd-fs@freebsd.org Subject: Re: zfs send compression query Message-ID: <20160107073611.GA50011@potato.growveg.org> In-Reply-To: <E6D52539-46D2-4E58-8771-CE405488A820@chittenden.org> References: <20160106233557.GA6185@potato.growveg.org> <E6D52539-46D2-4E58-8771-CE405488A820@chittenden.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jan 06, 2016 at 05:01:44PM -0800, Sean Chittenden wrote: > > >-- >Sean Chittenden > > >> On Jan 6, 2016, at 15:35, John <freebsd-lists@potato.growveg.org> wrote: >> >> $ zfs send -R vms/132@2016-01-06.2122 | pigz -9c | ssh backup@[remote_ip] \ >> pigz -dc | zfs recv -Fdvu storage/snapshots The problem I'm getting with that compressor (and others) is that it bails like this: send from @ to vms/133@2016-01-07.0648 estimated size is 32.1G total estimated size is 32.1G cannot receive: specified fs (storage/snapshots) does not exist Pseudo-terminal will not be allocated because stdin is not a terminal. TIME SENT SNAPSHOT -bash: line 1: syntax error near unexpected token |' [then get a load of binary garbled output and then a broken pipe error] zfs send works fine if I don't try to compress the stream: $ zfs send -Rv vms/133@2016-01-07.0648 | ssh backup@[redacted] zfs recv -Fdvu storage/snapshots send from @ to vms/133@2016-01-07.0648 estimated size is 32.1G total estimated size is 32.1G TIME SENT SNAPSHOT receiving full stream of vms/133@2016-01-07.0648 into storage/snapshots/133@2016-01-07.0648 07:26:44 300K vms/133@2016-01-07.0648 07:26:45 1.92M vms/133@2016-01-07.0648 07:26:46 3.42M vms/133@2016-01-07.0648 I'm guessing I'm doing something wrong with the pipes, but not sure how to solve it... -- John
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160107073611.GA50011>