On Thu, May 27, 2021 at 02:26:22PM -0400, Karl Denninger wrote: > >On 5/27/2021 12:03, tech-lists wrote: >> On Thu, May 27, 2021 at 12:00:32PM +0200, Dimitry Andric wrote: >> >>> I think you can use "zfs send -R" to achieve what you want: >> >> hm, i'm doing something wrong >> >> zfs snapshot -r data_at_total3 >> [this works, returns to # prompt] >> >> zfs send -R -n -v data_at_total3 | zfs receive new [here i want a dry-run] >> >> I get this error: cannot receive: invalid stream (bad magic number) >> >"-n" means "dry run, don't actually do it", so you sent nothing and thus >receive got nothing. of course. hence the zfs recv error. I thought somehow it's know about the recv but it won't as there's a pipe thanks again -- J.
Original text of this message