openzfsonwindows/openzfs

cannot replicate filesystems

guenther-alka opened this issue · 2 comments

System information

Type | Version/Name
Windows 11 pro de 23H2

OpenZFS Version 2,2.3rc2

Describe the problem you're observing

Replication of filesystems fails (over netcat and locally) with "bad magic number"

PS C:\Users\me> zfs send tank/data1@2024.03.23.16.31.57_newest | zfs receive tank/data2
16:35:26 312B tank/data1@2024.03.23.16.31.57_newest
cannot receive: invalid stream (bad magic number)

Be aware you can not send in PowerShell or Bash, but normal CMD will work (Run as Administrator). It is still unknown why PS affects pipes.

Indeed!
Thanks