Page 1 of 1

zfs receives seems to stall

PostPosted: Mon Jun 21, 2021 12:40 pm
by spencerh
I'm trying to use syncoid to sync a Linux fileserver to a macOS backup server. This generally works fine for a while, but eventually hangs one one of the datasets. The zfs receive process shows the status `U` in `ps` on the macOS server, and continues to run even after I kill the syncoid process on the Linux server. If I try to reboot the macOS server, I get a spinner icon until I hard reset the machine. I'm running 2.0.1 in Catalina.

Re: zfs receives seems to stall

PostPosted: Mon Jun 21, 2021 4:36 pm
by lundman
I believe we found a few bugs in the recv code, which will be fixed in 2.1.x.

There is a difference between file, and pipe - so try "the other one" and see if you get different results.

Ie,
zfs recv .... < file
vs
cat file | zfs recv ....

Executes different code paths.