Skip to content
View in the app

A better way to browse. Learn more.

Learn more

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

Featured Replies

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

Solved 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...

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.