-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to recv stream from 0.7.0-rc3 on 0.6.5.8, stuck on 100% CPU #5999
Comments
possible duplicate of #5699? |
Yes, it seems to be the same issue. So I followed the OpenZFS 6393 to commit e6d3a84, which is in 0.7.0. Could the fix of I tried to extract the fix from 6393 and came up with this patch. It seems to work for me, recv finishes correctly. I don't know if it has some other consequences though. |
That fix (which doesn't seem to work as intended, see #5699 (comment)) is needed on the sending side, not the receiving end: backporting to 0.6.5.10 would not help in this case. |
Hi! I have the same problem. With the latest FreeNAS(freebsd 11-stable) as the sending side and Ubuntu 16.04 with the latest stable of Zol as the receiving side. I've read this issue and #5699 a couple of times but I'm not totally clear if there is a way opting out of freerecords. This commit seems to be related truenas/os@d29ea66 According to this thread it seems unlikely. Especially this comment https://illumos.topicbox.com/groups/discuss/discussions/T03e37d6ecdac991f-Mbe84d215678afc7bd84d9a68 I've tested with on 0.7.0-rc4 and it works. Is there a release date planned for 0.7 stable? Have searched but couldn't find any. |
Created a project for 0.7.0-rc5, the only major change outstanding is the finalize the safeimport (multi-modifier protection) code. |
0.7 branch is stable now, closed as #5699 duplicate. |
System information
Describe the problem you're observing
It's not possible to receive a stream created with ZFS 0.7 on ZFS 0.6. zfs recv writes most (or all) of the data, as I can see the
used
property to increase. When it should finish, it keeps spinning at 100% CPU in the R state. The process is stuck and cannot be killed even with SIGKILL.Describe how to reproduce the problem
First, with ZFS 0.7:
Then with ZFS 0.6:
For example, stream in 50.dat.gz was created with ZFS 0.7 and every time I try to receive it on ZFS 0.6, the problem occurs:
This process never finishes.
Include any warning/errors/backtraces from the system logs
No error is shown, the zfs recv process is just stuck.
On another system with a different kernel (2.6.32-042stab120.11), it looks like this:
The text was updated successfully, but these errors were encountered: