Results 1 to 7 of 7

Thread: ZFS is broken in 24.04

  1. #1
    Join Date
    Apr 2024
    Beans
    4

    ZFS is broken in 24.04

    anything which involved copy_file_range syscall (which is a LOT of things) will fail if it is on ZFS.
    https://github.com/openzfs/zfs/issues/15930
    https://github.com/zabbly/zfs/commit...ccbd0012920af4

    particularly it will kill things like PHP. ruby and most of other scripting stuff.

    example from strace of php:

    Code:
    copy_file_range(5, NULL, 6, NULL, 9223372036854775807, 0) = -1 EOPNOTSUPP (Operation not supported)
    at least, this is what I see on 6.8.0-22-generic.
    Last edited by ant-starikov; April 9th, 2024 at 05:20 PM.

  2. #2
    Join Date
    Apr 2024
    Beans
    4

    Re: ZFS is broken in 24.04

    Sorry, somehow duplicated threads and can't find how to remove one.

  3. #3
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    13,730
    Distro
    Ubuntu

    Re: ZFS is broken in 24.04

    I've removed your other duplicate thread.
    Please use the report post button in the future if it happens again.
    Or to simply report any other issues you come across.
    Splat Double Splat Triple Splat
    Earn Your Keep
    Don't mind me, I'm only passing through.
    Once in a blue moon, I'm actually helpful
    .

  4. #4
    Join Date
    Apr 2024
    Beans
    4

    Re: ZFS is broken in 24.04

    Anyway, I backported fix and pushed branch with proposed change. Rest is on maintainers of zfs-linux package.

  5. #5
    Join Date
    Apr 2024
    Beans
    4

    Re: ZFS is broken in 24.04

    Anybody who wants fix right now can do
    git clone -b linux_6.8_compat_splice_copy_file_range_fallback https://git.launchpad.net/~antst/ubu...urce/zfs-linux
    cd zfs-linux
    dpkg-buildpackage -rfakeroot --no-sign -b

    it will build all related packages, then install locally built zfs-dkms package as
    apt install ./zfs-dkms_2.2.2-0ubuntu8_all.deb

  6. #6
    Join Date
    Mar 2010
    Location
    USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: ZFS is broken in 24.04

    But the fix was released in Ubuntu 5 days ago, right? 4/5/2024: https://bugs.launchpad.net/ubuntu/+s...w/+bug/2054682
    Last edited by MAFoElffen; April 11th, 2024 at 04:34 AM.

    "Concurrent coexistence of Windows, Linux and UNIX..." || Ubuntu user # 33563, Linux user # 533637
    Sticky: Graphics Resolution | UbuntuForums 'system-info' Script | Posting Guidelines | Code Tags

  7. #7
    Join Date
    Mar 2012
    Beans
    7

    Re: ZFS is broken in 24.04

    Installed 24.04 ubuntu-server-minimal with ZFS boot & root using minimally adapted 22.04 instructions from OpenZFS.
    This process failed before -31 but now works.

    https://github.com/openzfs/zfs/discussions/16120

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •