[Pkg-zfsonlinux-devel] Bug#1110397: Spoke too soon
Turbo Fredriksson
turbo at bayour.com
Mon Feb 9 20:43:12 GMT 2026
That was a LOOOONG time ago :). I can just barely remember what the problem is :).
However, I fixed it .. “properly” (the patch you’re running won’t do for Debian, it removes
so much functionality.
Wether that functionality is wanted, warranted or needed… Well, the opinions on that
was wide on the tickets with OpenZFS! :D
Start here.. There’s quite a few tickets and a lot going back and forth on this (you missed
a lot in your .. “absence” :D :D :D).
https://github.com/openzfs/zfs/pull/17995#issuecomment-3597664706
The fix (as far as I can tell - I couldn’t reproduce it, and I can’t see how your script etc would
do any differently..
Don’t know if Debian have included this fix in their version(s), but here is the actual fix:
https://github.com/openzfs/zfs/pull/18000
I’d recommend you pull that/those files, update your system to use those instead of the
supplied ones, and try again.
If you still have problems, let me know. OR, settle with the dirty hack :). Because that’s
how >I< see it, but others had different opinions..
> On 8 Feb 2026, at 13:51, Wessel Dankers <wsl-debbugs-zfs-initramfs at fruit.je> wrote:
>
> Hi Turbo,
>
> Thank you so much for looking into this. Apologies for no replying sooner,
> apparently I do not get e-mail from the debian bug tracker (no, it's not in
> my spambox either). Perhaps best to Cc me explicitly if you need a quick
> reaction.
>
> On 2025‒12‒04 16:31:54+0000, Turbo Fredriksson wrote:
>> After spending almost a day setting up Trixie to have a ZFS root and
>> then almost two days trying to reproduce the problem, I have failed to
>> do so!
>
> Not to be outdone in terms of expended effort, I've put up a
> more-or-less self-contained installation script at
> https://www.fruit.je/y/zfs-initramfs-1110397/install which should have
> everything you need to reproduce the issue. I've also captured the
> output (see the links below) so that hopefully you don't have to. ;)
>
> But even if you don't actually run it, you can at least see the exact
> steps that lead to the issue.
>
>> Wessel, I need you to add the `zfsdebug=yes` on the kernel command line
>> and try to see where this is happening. Is it indeed in the initrd or once the
>> zfs mount happens??
>
> You can see the output of it at:
> https://www.fruit.je/y/zfs-initramfs-1110397/reboot-log
>
>> If you could give me the output from the following commands, I’d also appreciate
>> it. I have no idea what I’m looking at, but at least then I can start to compare
>> it with what I have..
>>
>> * zpool get bootfs <pool>
>> * zfs list -o name,canmount,encryption,mounted,mountpoint
>
> You'll find this output at the bottom of
> https://www.fruit.je/y/zfs-initramfs-1110397/install-log
>
> Please note that the bootfs property is not used by grub.
>
>> The important thing I need to know, is it *really* the initrd that is at fault
>> here??! I’m not so sure it is..
>
> I'm pretty sure it is! This patch:
> https://www.fruit.je/y/zfs-initramfs-1110397/patch resolves the issue
> completely (it's basically a more explicit rendering of what I wrote in
> the original report).
>
> Kind regards,
>
> --
> Wessel Dankers <wsl-debbugs-zfs-initramfs at fruit.je>
More information about the Pkg-zfsonlinux-devel
mailing list