Re: weekly fstrim (still) necessary?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux