-
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
receive of raw encrypted incrimental backup caused stacktrace and D state #7180
Comments
additional info, the kernel on the sender and receiver are the exact same (built and reused). |
@tcaputi you may want in on this, am I using an unsupported option when sending? |
Can you tell me what datasets are encrypted on each system? Specifically is the sent dataset encrypted and are any parents of the received dataset encrypted? |
All datasets on the source system are encrypted, pool created with the following:
The destination systems has no encrypted datasets, just the raw receive from the first send to it (which it received correctly). ZFS commands are hanging, so I can't get the output of zfs list on the destination system, but the send/receive command set was as follows.
|
OK. I think this is probably related to #7117. This manifestation of it doesn't seem to be a very serious ASSERT and we could probably just ignore it, but I'd like to know why it's happening before I say so for sure. |
Did your original pool have any clones, by the way? EDIT: nevermind. I see this is just a single dataset being sent, so this shouldn't matter. |
Any way to work around it (other than sending non-raw, unencrypted)? |
looking into it now.don't want to tell you something that causes permanent damage... |
So basically, this ASSERT is being caused because the code is confused about whether or not your dataset is encrypted. I have not been able to replicate your exact error, but i have replicated a couple other small issues and I have a patch to fix them (which I will be making a PR for soon). The 2 bugs I found have to do with |
Honestly my workflow for creating a new backup was to create the dataset then receive -F over it. It's probably just paranoia or stupidity on my part but a I've never been able to create a dataset on initial receive. I'll watch for your PR though and let you know how it goes (on 4.14.20 with master as of a few hours ago). |
@prometheanfire Any thoughts for how we might go about getting this issue closed? I'm not sure if we were ever able to replicate the issue after these patches went through. |
I haven't been able to retest (I'm traveling), I'm going to close it and will reopen (or make a new one if I have to) if needed. |
System information
Describe the problem you're observing
Kernel backtrace and receive hanging in d state.
Describe how to reproduce the problem
Include any warning/errors/backtraces from the system logs
The text was updated successfully, but these errors were encountered: