Replies: 4 comments 2 replies
-
|
So earlier in the week I finally got around to adapting my script to insert a I'm only dumping sends with an estimated size of less than a hundred megabytes (for sanity) but it seems weird to me that adding Now I'm at even more of a loss as to how to debug it. 🤦♂️ I'm going to keep an eye on it, maybe I just got "lucky" and I've had a week of flawless sends, but prior to adding |
Beta Was this translation helpful? Give feedback.
-
|
Of course I posted too soon! Less than 24 hours later I get one failure, resulting in a send stream written to file that I can inspect. I'm not really familiar enough to know what's going on within the file, but what I did notice is that for an estimated 2.04 mb send, I've only got a 999 kb file, which seems to suggest an incomplete stream though I'm unsure how to verify that, plus it could still be disconnecting on the receive side. Is it worth forcing a buffer in the middle with I'm attaching the send output in case anyone can learn more from it (it's an incremental send for an encrypted dataset that isn't important so I'm not too bothered about posting it): The command I use to get an estimated transfer is |
Beta Was this translation helpful? Give feedback.
-
|
I had some kind of corruption which I believe was caused by inconsistent use of -L and untested code doing that. #17829 explained here. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for the response! That does seem to be similar as what I'm seeing, my output from The key problem seems to be the line I'm not actually using the Skimming back through my logs it does look like the datasets seeing errors are all ones with I don't believe I have ever used Still a bit confusing why this would be an issue only when I'm using the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I recently switched a backup script from using
zfs send -iwith a bookmark, to instead usezfs send -I(capital i) with a snapshot if one exists, to ensure that any intermediate snapshots are also sent.However I'm now occasionally getting the following error from
zfs receive:Nothing else has changed, so the logic is essentially the following (zsh, heavily simplified):
Any ideas how I might debug why this change would be causing this problem? I'm running v2.3.0 currently as I tend to be slow with updating, but I don't see anything in the changelogs since then suggesting this has been fixed (assuming it's a bug).
Both the source and target pool are on the same system, so there should be no transmission issues, and both are in good health and showing no sign of errors, so it seems unlikely for this to be either a checksum mismatch or interrupted stream — since I'm using resumable receive I can immediately resume the send using the resume token and it completes without any issue, as does disabling the new behaviour (only use
-i) but I'd prefer to fix the problem if I can.It just seems like switching from
-ito-Iis causing the problem, but I would expect them to be functionally identical when the incremental stream is only for a pair of snapshots (none in between) so it's a mystery why one works all of the time and the other intermittently fails.And thus far in my usage it does seem as if the failures are more likely when there are no intermediate snapshots, and the amount of data being sent is relatively small — larger sends, and sends with intermediates, seem to be reliable.
Beta Was this translation helpful? Give feedback.
All reactions