On Sun, Jun 21, 2020 at 5:52 PM Ulli Horlacher <framstag@xxxxxxxxxxxxxxxxxxxx> wrote: > > On Sun 2020-06-21 (13:39), Chris Murphy wrote: > > > > Shall I call fstrim via /etc/cron.weekly ? > > > > util-linux provides fstrim.service and fstrim.timer for a while now. > > fstrim.timer runs on Monday at 00:00 local time. The upstream default > > is disabled, some distributions enable it by default. > > On Ubuntu 18.04 and RHEL 7.8 "systemctl is-enabled fstrim" returns > "static" You need to check fstrim.timer, which in turn triggers fstrim.service. -- Chris Murphy
