Jump to content

snapper fails to create a btrfs snapshot if --cleanup-algorithm is used


Go to solution Solved by eselarm,

Recommended Posts

Posted (edited)

When I reboot with kernel 6.8.4 (edge) installed by apt upgrade, I noticed my scripts that uses snapper for remove differential backups. It turns out that, if no cleanup algorithm option is used, snapshot is created.

Before the reboot, with kernel 6.8.1 version, there was no issue. I on Armbian Bookworm, but also with other Debian Bookworm based OS running those same kernel binaries. Same failure with 6.8.5

 

Currently I don't know any more, I could run this faulty kernel in a VM as the .config is such that it also boots on virt hardware (virt-7.2 as Bookworm uses).

 

EDIT:

Also in a VM, the problem is there:

 

root@armbian64:/tmp# snapper create -d cleantest --cleanup-algorithm number
Creating snapshot failed.
root@armbian64:/tmp# snapper create -d cleantest  
root@armbian64:/tmp# uname -a
Linux armbian64 6.8.4-edge-rockchip-rk3588 #1 SMP PREEMPT Thu Apr  4 18:25:06 UTC 2024 aarch64 GNU/Linux



 

Edited by eselarm

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines