ZFS Send fails when resizing Powershell window?

This seems like something that shouldn’t be relevant/possible, and yet…

I’m trying to do a zfs send | zfs receive to back up one of my datasets (four pools, backing up data from one onto another much larger one). SSHing in from Powershell (haven’t tried anything else yet) and running the command:

sudo zfs send first_pool@migration020125 | pv | sudo zfs receive -s -v -d other_pool

will start to work, but if I interact with the Powershell window in any meaningful way (resize), zfs send exits and the process fails (see output below). This happens if I’m in the base shell or in tmux. This happens if I include pv or don’t.

zsh: exit 1           sudo zfs send first_pool@migration020125 |
zsh: done             pv |
zsh: IOT instruction  sudo zfs receive -s -v -d other_pool

Currently have it running in tmux through the “Linux console” option on the splash screen, but I’d really like to know why I can’t kick this off from a “normal” terminal. Why is ZFS send failing when I resize my terminal? Thoughts? Thanks.

Deets:

TrueNAS Scale ElectricEel-24.10.1
Virtualized inside Proxmox 8.3.2, hardware passthrough of HBA, 32GiB of RAM, 6 cores

Try Report a Bug and include details on the Windows version and Powershell version.

Your post isn’t clear if you are using Powershell on Windows or another OS.

Sorry, up-to-date Windows 10, PS version:

Major  Minor  Build  Revision
-----  -----  -----  --------
5      1      19041  5247

I also tried to make a new pane in the tmux instance I had and it broke again, so it seems to be related to resizing the terminal in general?

You can submit a bug on the Forum, upper right top, Report a Bug or through the TrueNAS GUI. If you do it there, you can attach a dump so they have a detailed view of your TrueNAS. You can also submit it after if you do the forum version.