Re: simple question regarding moving zfs filesystems
- In reply to: Karl Denninger : "Re: simple question regarding moving zfs filesystems"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 27 May 2021 18:37:05 UTC
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@total3 >> [this works, returns to # prompt] >> >> zfs send -R -n -v data@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.