Omv extras Backport button - how does it work?

  • Hello everyone,


    I am trying to enable the backports to get the new version of zfs-linux.

    ryecoaaron wrote on GitHub to open a thread in the forum and post the log. I am not familiar with omv and Linux in depth and I hope this helps.


    (The log is to long for the post, so here is a paste bin)

    Enabling backports ...Enabling backports... debian: ---------- ID: remove_ - Pastebin.com
    Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
    pastebin.com

  • votdev

    Approved the thread.
    • New
    • Official Post

    That looks fine. What is the output of: apt-cache policy zfs-dkms

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

    plugins :: omvextrasorg 7.0.1 | kvm 7.0.16 | compose 7.3.3 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.9


    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!

  • Hello ryecoaaron

    Thank you for your fast reply.

    Here is the output:

    apt-cache policy zfs-dkms

    zfs-dkms:

    Installiert: 2.1.11-1+deb12u1

    Installationskandidat: 2.1.11-1+deb12u1

    Versionstabelle:

    2.2.7-1~bpo12+1 100

    100 http://httpredir.debian.org/debian bookworm-backports/contrib amd64 Packages

    *** 2.1.11-1+deb12u1 500

    500 http://deb.debian.org/debian bookworm/contrib amd64 Packages

    100 /var/lib/dpkg/status

    • New
    • Official Post

    And there's part of the problem. Even though the code is pinning zfs* at 500, your system is still pinning it at 100 meaning it needs to be manually installed.

    Code
    $ cat /etc/apt/preferences.d/omvextras.pref
    Package: zfs*
    Pin: release a=bookworm-backports
    Pin-Priority: 500


    The issue is that you are adding contrib to the regular debian repo. If you didn't add that, zfs from backports would be the only option and just install.

    Not sure why you are adding contrib. Does the following fix the pinning issues?


    sudo sed -i 's/500/600/g' /etc/apt/preferences.d/omvextras.pref

    sudo apt-get update

    apt-cache policy zfs-dkms

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

    plugins :: omvextrasorg 7.0.1 | kvm 7.0.16 | compose 7.3.3 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.9


    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!

  • Hello,


    I did not add anything there. (I do not even know where I should have added something, tbh.


    This is the output after your commands:

    Code
    apt-cache policy zfs-dkms
    zfs-dkms:
      Installiert:           2.1.11-1+deb12u1
      Installationskandidat: 2.1.11-1+deb12u1
      Versionstabelle:
         2.2.7-1~bpo12+1 100
            100 http://httpredir.debian.org/debian bookworm-backports/contrib amd64 Packages
     *** 2.1.11-1+deb12u1 500
            500 http://deb.debian.org/debian bookworm/contrib amd64 Packages
            100 /var/lib/dpkg/status



    This is what is written in the omvextras.pref:

    • New
    • Official Post

    I did not add anything there. (I do not even know where I should have added something, tbh.

    the contrib repo is not enabled by default on debian netinst or omv iso. I would remove the word contrib from /etc/apt/sources.list


    I don't know why pinning is broken on your system. I will look into when I have time but I don't have any systems with this issue.

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

    plugins :: omvextrasorg 7.0.1 | kvm 7.0.16 | compose 7.3.3 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.9


    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!

  • the contrib repo is not enabled by default on debian netinst or omv iso. I would remove the word contrib from /etc/apt/sources.list

    Ah ok, so I should remove it in every line here?

    Sorry for my dumb question. I am not that familiar with changing lists or configs in the system without knowing what I am doing :D



    • New
    • Official Post

    Ah ok, so I should remove it in every line here?

    Yes.

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

    plugins :: omvextrasorg 7.0.1 | kvm 7.0.16 | compose 7.3.3 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.9


    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!

    • New
    • Official Post

    Now I am waiting for the 2.3 release of zfs for backport

    I had a discussion with a coworker who has been a Solaris admin since before zfs was released and even runs zfs at home. Both of us agree that the new zfs expansion feature does not make sense. I really hope this doesn't bite a lot of home users.

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

    plugins :: omvextrasorg 7.0.1 | kvm 7.0.16 | compose 7.3.3 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.9


    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!

  • I had a discussion with a coworker who has been a Solaris admin since before zfs was released and even runs zfs at home. Both of us agree that the new zfs expansion feature does not make sense. I really hope this doesn't bite a lot of home users.

    here is the pull, if you are interested in detail.

    raidz expansion feature by don-brady · Pull Request #15022 · openzfs/zfs
    Motivation and Context This feature allows disks to be added one at a time to a RAID-Z group, expanding its capacity incrementally. This feature is especially…
    github.com

    • New
    • Official Post

    here is the pull, if you are interested in detail.

    When I first read about this change a few years ago, I thought they said the vdev was not going to be expanded. Since the vdev is expanded, I guess there is no worry other than letting the change bake.

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

    plugins :: omvextrasorg 7.0.1 | kvm 7.0.16 | compose 7.3.3 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.9


    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!