openzfsonwindows / openzfs

OpenZFS on Linux and FreeBSD
https://openzfs.github.io/openzfs-docs
Other
455 stars 16 forks source link

cannot replicate filesystems #366

Open guenther-alka opened 6 months ago

guenther-alka commented 6 months ago

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)

lundman commented 6 months ago

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.

guenther-alka commented 6 months ago

Indeed! Thanks