Re: [zfs-discuss] zfs send/receive script

2012-03-09 Thread Ian Collins
On 03/10/12 02:48 AM, Cameron Hanover wrote: On Mar 6, 2012, at 8:26 AM, Carsten John wrote: Hello everybody, I set up a script to replicate all zfs filesystems (some 300 user home directories in this case) within a given pool to a "mirror" machine. The basic idea is to send the snapshots in

Re: [zfs-discuss] Receive failing with "invalid backup stream" error

2012-03-09 Thread Ian Collins
On 03/10/12 01:48 AM, Jim Klimov wrote: 2012-03-09 9:24, Ian Collins wrote: I sent the snapshot to a file, coped the file to the remote host and piped the file into zfs receive. That worked and I was able to send further snapshots with ssh. Odd. Is it possible that in case of "zfs send ... | s

Re: [zfs-discuss] zfs send/receive script

2012-03-09 Thread Cameron Hanover
I've seen similar error messages from a script I've written, as well. Mine does create a lock file and won't run if a `zfs send` is already in progress. My only guess is that the second (or third, or...) filesystem starts sending to the receiving host before the latter has fully finished the `zf

Re: [zfs-discuss] Receive failing with "invalid backup stream" error

2012-03-09 Thread Jim Klimov
2012-03-09 9:24, Ian Collins wrote: I sent the snapshot to a file, coped the file to the remote host and piped the file into zfs receive. That worked and I was able to send further snapshots with ssh. Odd. Is it possible that in case of "zfs send ... | ssh | zfs recv" piping, the two ZFS proce