Announcement

Collapse
No announcement yet.

ERROR: failed to clone extents to ,,,

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    ERROR: failed to clone extents to ,,,

    After release upgrading to 24.10, my incremental send/receives are often failing with, for example,
    Code:
    ERROR: failed to clone extents to etc/samba/smb.conf: Invalid argument
    Searching, I found this from a btrfs list:

    https://www.spinics.net/lists/linux-...msg149482.html

    and this points to a fix being submitted:

    https://lore.kernel.org/linux-btrfs/5a406a607fcccec01684056ab011ff0742f06439.172743256 6.git.fdmanana@suse.com/

    I tried to follow the thread where it discussed kernel version numbers, but I couldn't understand. uname -a says my kernel is 6.11.0-9-generic, but the threads talk about 6.1.115 having the problem fixed; I'd have thought that 6.11.0 would come after 6.1.x.

    Can anyone explain about whether my 24.10 kernel has the fix?


    Regards, John Little

    #2
    https://en.wikipedia.org/wiki/Linux_...ersion_history

    6.11. is after 6.1.

    Please Read Me

    Comment


      #3
      Look slike a regression, or not actually fixed:

      https://www.spinics.net/lists/linux-...msg149458.html

      Please Read Me

      Comment


        #4
        An update...

        As the problem is in the software, and the data are not affected, I've been able to boot to a noble (24.04) install to do incremental backups.

        Over the last day or so, I've made a vanilla install of 24.10, updated, reproduced the problem, then installed the latest kernel on https://kernel.ubuntu.com/mainline/, 6.12.3:
        1. download the 4 debs in mainline/v6.12.3/amd64
        2. run sudo dpkg -i *.deb
        3. reboot
        I also cloned https://github.com/kdave/btrfs-progs and built the latest version, v6.12 (24.10 has v6.6.3):
        1. git clone https://github.com/kdave/btrfs-progs.git
        2. enabled source repos in /etc/sources.list.d/ubuntu-sources by adding "deb-src" to the "Types:" lines, so that the read Types: deb deb-src
        3. sudo apt build-dep btrfs-progs
        4. cd btrfs-progs
        5. followed the instructions in the INSTALL file, that is
          1. ./autgen.sh
          2. ./configure
          3. make
          4. sudo make install
        then the error did not occur.

        I'm not sure the new version of btrfs-progs is necessary. When (and if) I apply the fix to my main install, I'll do the kernel only and test.
        Regards, John Little

        Comment

        Working...
        X