ZFS fails after Kernel update 4.9.0-0.bpo.1-amd64

  • Hi guys.


    I took the newest kernel from update management and rebooted. The ZFS plugin now fails to start.


    openmediavault:~ zpool status
    The ZFS modules are not loaded.
    Try running '/sbin/modprobe zfs' as root to load them.


    Running above just shows ZFS module not found.


    There are new stretch releases for ZFS packages and I used the update management / upload to get them in there.


    root@openmediavault:~# dpkg -l | grep zfs
    ii libzfs2linux 0.6.5.8-3 amd64 OpenZFS filesystem library for Linux
    iF openmediavault-zfs 3.0.6 amd64 OpenMediaVault plugin for ZFS
    ii zfs-dkms 0.6.5.8-3 all OpenZFS filesystem kernel modules for Linux
    ii zfs-zed 0.6.5.8-3 amd64 OpenZFS Event Daemon
    ii zfsutils-linux 0.6.5.8-3 amd64 command-line tools to manage OpenZFS filesystems


    Problem is that zfs-dkms fails to build.


    cat /var/lib/dkms/zfs/0.6.5.8/build/make.log



    Can you point me in the right direction?

    • Offizieller Beitrag

    zfs needs to be ported to new kernel sometimes. You will just have to wait or use the 4.8. It should still be installed on your system.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    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!

    • Offizieller Beitrag

    So can I downgrade the Kernel somehow?

    Uh no. Like I said, you should still have the 4.8 kernel on your system (unless you uninstalled it). If you have omv-extras installed, you can just select it to boot from the kernel tab. When programs like zfs compile kernel modules, they compile for all the kernels on the system.


    Just to check, do you have the 4.9 kernel headers installed? This would also make the compiling fail. There is a button to install the kernel headers in omv-extras.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    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!

    • Offizieller Beitrag

    Sorry, that is in the next version of omv-extras that requires unreleased OMV 3.0.60. No problem though. apt-get install linux-headers-$(uname -r)

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    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!

  • Meh! The same result for the build of zfs-dkms after headers install.
    Also, under the kernel i can only find one to select. There is a backports kernel (and proxmox) to install. Should i try either of those?

    • Offizieller Beitrag

    The backports button should install the 4.8 kernel unless it has been removed from the Debian repos. The proxmox kernel will definitely work with zfs.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    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!

  • Alright. So with the install of proxmox the kernel list was updated and i could boot the 4.8 again. Hopefully no other issues with that. The install of zfs-dkms still shows some fail for building towards the 4.9 kernel. But it works nevertheless. Some reboots later and the pool was back online. Thanks for the support.


    Perhaps i can bother you with some other questions related to zfs at the same time?
    The pool will never standby/sleep. I would like the drives to spindown when unused. But there are some issues preventing it i guess. Perhaps that it never really stops writing to the disks.
    But another "big" issue is that hdparm cant communicate towards the disks. Im using SAS drives over an Adaptec PCIe card.



    root@openmediavault:~# hdparm -C /dev/sdi


    /dev/sdi:
    drive state is: active/idle
    root@openmediavault:~# hdparm -C /dev/sda


    /dev/sda:
    SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 28 00 00 00 00 20 00 00 00 00 00 00 85 01 01 1b 00 00 00 00 00 00 00 00 00
    SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 28 00 00 00 00 20 00 00 00 00 00 00 85 01 01 1b 00 00 00 00 00 00 00 00 00
    drive state is: unknown


    Perhaps this should be a new thread.
    I tried sdparm to force the drives to spindown, and it worked. But the pool was lost and i had to reboot to get it back.


    /M

    • Offizieller Beitrag

    I don't use zfs or spin down my drives. So, not much help from me.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    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!

    • Offizieller Beitrag

    Any update on how to fix it with 4.9?

    Wait for newer package to be released. Do you really need the 4.9 kernel?

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    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!

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!