Created attachment 196617 [details]
A screenshot of the panic message.
This is a continuation of the following bugreport:
I did some digging to try and get to the root cause. It appears that it has nothing to do with GELI, I can also reproduce this on a plain UFS volume. The culprit seem to be extended attributes.
Freebsd panics reproducible with
"panic: softdep_deallocate_dependencies: dangling deps"
when using rsync with the -X option ("preserve extended attributes") to a volume with soft updates enabled.
This appears to be some kind of race condition - transferring the files one-by-one works, the panic occurs only when transferring the whole directory.
Turning off soft updates (-n disable) or using rsync without -X prevents the panic from occurring.
The exact same command worked with 11.1-RELEASE.
The attached screenshot shows the panic message. Please let me know if I can be of further assistance!
I have the same problem with soft-updates and acls activated on UFS volume.
FreeBSD version 11.2-STABLE, r335822. If I disable either soft-updates or acls, the system behaves normally.
Do either of you have a test case / example that will trigger the panic?
We have not been able to reproduce the problem and so have no way to understand what is causing it.
I too am affected by this, it was so bad I had to rollback to 11.1.
I've been trying, to no avail, to reproduce it in a VM.
It definitely happened on a real machine with a real 8TB drive though.
I don't think transferring a whole disk image of this size just for the sake of debugging would be feasible, however if there was a way to make a sparse image that only contained filesystem metadata (but not file data or unused blocks), either with an existing tool or by coding it myself (with some guidance as to how to obtain said list of blocks), I'd be willing to share (privately) such a disk image.
(In reply to koro from comment #3)
We think we have a way to reproduce it, but not yet sure. So hold on to that disk image for now. But hopefully we will not need it. Stay tuned.
Is there any progress on this?
With 11.1 not being supported anymore it's becoming harder and harder to stay on it.
(In reply to koro from comment #5)
I do have a way to reproduce it, but have gotten side-tracked on other issues so have not had time to dig into it. I'll try to move it up on my priority list.