Hi,

we ran some tests on 24.04 and, so far, haven't seen any panics anymore.
I'll leave it running for another couple of hours and then change the
tag to verification-done-noble as requested.

I'm going with zfs-dkms here, because it doesn't look like there's an
updated linux-image-generic package yet. I assume that there will be an
update of linux-image-generic at some point, so that we don't have to
run zfs-dkms. :-)

Thank you!


Here's what we did:

1.  Installed the packages from noble-proposed:

        apt install zfs-dkms/noble-proposed libzfs4linux/noble-proposed
zfs-zed/noble-proposed zfsutils-linux/noble-proposed
libuutil3linux/noble-proposed libzpool5linux/noble-proposed
libnvpair3linux/noble-proposed

2.  Rebooted and verified that the new versions are being used:

        # dpkg -l | grep zfs
        ii  libzfs4linux                    2.2.2-0ubuntu9.3
        ii  zfs-dkms                        2.2.2-0ubuntu9.3
        ii  zfs-zed                         2.2.2-0ubuntu9.3
        ii  zfsutils-linux                  2.2.2-0ubuntu9.3

        # uname -a
        Linux foo 6.8.0-60-generic #63-Ubuntu SMP PREEMPT_DYNAMIC Tue Apr 15 
19:04:15 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux

        # modinfo zfs | head -n 2
        filename:       /lib/modules/6.8.0-60-generic/updates/dkms/zfs.ko.zst
        version:        2.2.2-0ubuntu9.3

3.  Ran the reproducer from the bug description (this is running in the
same VM that showed the kernel panics earlier):

        # zpool create pooltest sdb
        # zfs create pooltest/data
        # cd /pooltest/data
        # python3 ~/zfs_write_unified.py .

    Wait a little bit (about 1 round of the Python script), then create
the snapshot:

        # zfs snapshot pooltest/data@snapshot1

    Then run the mount/umount loop while the Python script is still
running:

        # while true; do printf .; mount -t zfs pooltest/data@snapshot1
/var/tmp/snapshot1 && sleep 0.5 && umount /var/tmp/snapshot1; done

    This previously showed kernel panics or a stuck mount/umount at some
point.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2110885

Title:
  Kernel panic when unmounting ZFS snapshots

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/2110885/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to