Re: simple question regarding moving zfs filesystems

From: Karl Denninger <karl_at_denninger.net>
Date: Thu, 27 May 2021 14:26:22 -0400
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.

-- 
Karl Denninger
karl_at_denninger.net <mailto:karl_at_denninger.net>
/The Market Ticker/
/[S/MIME encrypted email preferred]/

Received on Thu May 27 2021 - 18:26:22 UTC

Original text of this message