aminda-duperemove.service.d: restore lighter btrfs balancing

This commit is contained in:
Aminda Suomalainen 2026-04-26 12:48:35 +03:00
parent 8ee55bc5ae
commit 2791f70637
Signed by: Mikaela
GPG Key ID: 99392F62BAE30723
2 changed files with 4 additions and 4 deletions

View File

@ -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 /

View File

@ -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