Update failed because of ZFS

  • The update proposed today failed with the following error message:


    checking whether fops->fallocate() exists... configure: error:

    *** None of the expected "file_fallocate" interfaces were detected.

    *** This may be because your kernel version is newer than what is

    *** supported, or you are using a patched custom kernel with

    *** incompatible modifications.

    ***

    *** ZFS Version: zfs-2.1.11-1+deb12u1

    *** Compatible Kernels: 3.10 - 6.2

  • votdev

    Approved the thread.
    • Official Post

    What kind of system? Assuming it is amd64, I recommend using the proxmox kernel to avoid this.

    omv 7.7.9-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.6 | compose 7.6.6 | cterm 7.8.3 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.2


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Starting from :


    Version

    7.6.0-1 (Sandworm)

    Kernel

    Linux 6.1.0-31-amd64


    root@omvt:/usr/src# zfs -V

    zfs-2.1.11-1+deb12u1

    zfs-kmod-2.1.11-1+deb12u1

    root@omvt:


    Latest updates work for me:

    ppitette You'll have to provide the info ryecoaaron asked for.

  • I'm affected by this bug also. On amd64 (FriendlyElec CM3588). Happy to provide full logged info if needed. Don't know if it's relevant but immediately following the text above is:


    Code
    Building module:
    Cleaning build area...(bad exit status: 2)
    make -j8 KERNELRELEASE=6.12.9+bpo-arm64...(bad exit status: 2)
    Error! Bad return status for module build on kernel: 6.12.9+bpo-arm64 (aarch64)
    Consult /var/lib/dkms/zfs/2.1.11/build/make.log for more information.


    And then that make.log shows this:

    Code
    DKMS make.log for zfs-2.1.11 for kernel 6.12.9+bpo-arm64 (aarch64)
    Mon Feb 17 08:02:38 EST 2025
    make: *** No targets specified and no makefile found.  Stop.


    I'll look into proxmox.

    • Official Post

    I'm affected by this bug also.

    It isn't a bug. zfs 2.1.11 just doesn't support the 6.12 kernel. You need the newest version of zfs from backports for that.

    I'll look into proxmox.

    You can't run the proxmox kernel on an arm system.

    omv 7.7.9-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.6 | compose 7.6.6 | cterm 7.8.3 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.2


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • On amd64 (FriendlyElec CM3588).

    Minor correction: it's not amd64. It's arm64 and AFAIK, you won't be able to run proxmox kernel (or any other amd64, for that matter)


    The issue must be solved upstream from friendelec

  • It isn't a bug. zfs 2.1.11 just doesn't support the 6.12 kernel. You need the newest version of zfs from backports for that.

    You can't run the proxmox kernel on an arm system.

    Great, thank you. So I just need to "apt install -t bookworm-backports" for that, I assume, if it's in my sources.list?


    And which package(s), exactly? It looks like I don't currently have zfs installed per se, but rather libzfs4linux, openmediavault-zfs, zfs-dkms, zfs-zed and zfsutils-linux.

    • Official Post

    So I just need to "apt install -t bookworm-backports" for that, I assume, if it's in my sources.list?

    If you enable backports in omv-extras, it should pin the packages you need for zfs and they should just install as updates.

    And which package(s), exactly? It looks like I don't currently have zfs installed per se, but rather libzfs4linux, openmediavault-zfs, zfs-dkms, zfs-zed and zfsutils-linux.

    "zfs*" "libnvpair3linux" "libzfs4linux" "libzpool5linux" "libuutil3linux"

    omv 7.7.9-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.6 | compose 7.6.6 | cterm 7.8.3 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.2


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Great, thank you. So I just need to "apt install -t bookworm-backports" for that, I assume, if it's in my sources.list?


    And which package(s), exactly? It looks like I don't currently have zfs installed per se, but rather libzfs4linux, openmediavault-zfs, zfs-dkms, zfs-zed and zfsutils-linux.

    That's the package list anyone running zfs will have on amd64:

    Code
     root@omvt:~# uname -a
    Linux omvt 6.1.0-31-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.128-1 (2025-02-07) x86_64 GNU/Linux
    root@omvt:~# dpkg -l | grep zfs
    ii  libzfs4linux                       2.1.11-1+deb12u1                     amd64        OpenZFS filesystem library for Linux - general support
    ii  openmediavault-zfs                 7.1.1                                amd64        OpenMediaVault plugin for ZFS
    ii  zfs-dkms                           2.1.11-1+deb12u1                     all          OpenZFS filesystem kernel modules for Linux
    ii  zfs-zed                            2.1.11-1+deb12u1                     amd64        OpenZFS Event Daemon
    ii  zfsutils-linux                     2.1.11-1+deb12u1                     amd64        command-line tools to manage OpenZFS filesystems
    root@omvt:~# 
    • Official Post

    That's the package list anyone running zfs will have on amd64:

    plus

    $ dpkg -l | grep -E "zpool|nvpair"

    ii libnvpair3linux 2.2.7-pve1 amd64 Solaris name-value library for Linux

    ii libzpool5linux 2.2.7-pve1 amd64 OpenZFS pool library for Linux

    omv 7.7.9-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.6 | compose 7.6.6 | cterm 7.8.3 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.2


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Official Post

    I did so and it seems to have worked without the need for me to worry about specific packages.

    Good to hear.

    omv 7.7.9-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.6 | compose 7.6.6 | cterm 7.8.3 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.2


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • My setup:

    ================================================================================
    = OS/Debian information
    ================================================================================
    Distributor ID: Debian
    Description: Debian GNU/Linux 12 (bookworm)
    Release: 12
    Codename: bookworm

    ================================================================================
    = openmediavault information
    ================================================================================
    Release: 7.7.0-1
    Codename: Sandworm

    ================================================================================
    = Locale
    ================================================================================
    fr_FR.UTF-8

    ================================================================================
    = System information
    ================================================================================
    Linux caladan 6.1.0-31-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.128-1 (2025-02-07) x86_64 GNU/Linux


    openmediavault-omvextrasorg 7.0.1

    openmediavault-zfs 7.1.1


    ZFS : 4 disks, 8TO each in 1 pool

  • I authorized backports packages in omv-extra and then applied the updates. It worked perfectly. Thank you.


    Last question: should I de-validate the backports packages or should I keep them?

    • Official Post

    should I de-validate the backports packages or should I keep them?

    You won't get updates to the packages installed from backports if you disable backports.

    omv 7.7.9-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.6 | compose 7.6.6 | cterm 7.8.3 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.2


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!