From 2791f706374ad13382347597f5b033b658ebe7d4 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Sun, 26 Apr 2026 12:48:35 +0300 Subject: [PATCH] aminda-duperemove.service.d: restore lighter btrfs balancing --- .../system/aminda-duperemove.service.d/90-btrfs-balance.conf | 4 ++-- .../system/aminda-duperemove.service.d/91-fedora-atomic.conf | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/etc/systemd/system/aminda-duperemove.service.d/90-btrfs-balance.conf b/etc/systemd/system/aminda-duperemove.service.d/90-btrfs-balance.conf index 254e5ca5..dbb77494 100644 --- a/etc/systemd/system/aminda-duperemove.service.d/90-btrfs-balance.conf +++ b/etc/systemd/system/aminda-duperemove.service.d/90-btrfs-balance.conf @@ -1,5 +1,5 @@ [Service] # https://superuser.com/a/1290109 # Contained in `systemd-path search-binaries-default` -#ExecStartPre=-btrfs balance start -dusage=25 -dlimit=10 -musage=25 -mlimit=10 / -#ExecStartPost=-btrfs balance start -dusage=50 / +ExecStartPre=-btrfs balance start -dusage=25 -dlimit=10 -musage=25 -mlimit=10 / +ExecStartPost=-btrfs balance start -dusage=50 / diff --git a/etc/systemd/system/aminda-duperemove.service.d/91-fedora-atomic.conf b/etc/systemd/system/aminda-duperemove.service.d/91-fedora-atomic.conf index c8cc42b0..9ca3e88d 100644 --- a/etc/systemd/system/aminda-duperemove.service.d/91-fedora-atomic.conf +++ b/etc/systemd/system/aminda-duperemove.service.d/91-fedora-atomic.conf @@ -5,5 +5,5 @@ ExecStart= ExecStart=-duperemove -rdhq --io-threads=1 --cpu-threads=1 --hashfile=/root/var.hash /var ExecStartPre= # Same filesystem although different subvolume, so this should work? -#ExecStartPre=-btrfs balance start -dusage=25 -dlimit=10 -musage=25 -mlimit=10 /var -#ExecStartPost=-btrfs balance start -dusage=50 /var +ExecStartPre=-btrfs balance start -dusage=25 -dlimit=10 -musage=25 -mlimit=10 /var +ExecStartPost=-btrfs balance start -dusage=50 /var