mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2026-04-27 02:58:20 +02:00
aminda-duperemove.service.d: restore lighter btrfs balancing
This commit is contained in:
parent
8ee55bc5ae
commit
2791f70637
@ -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 /
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user