Re: fstrim and SSDs and cron; was: Re: cron-service

2016-05-18 Thread Efraim Flashner
On Wed, May 18, 2016 at 07:21:18AM +0200, Danny Milosavljevic wrote: > > I had never thought of it, but maybe it’s a good idea. How do other > > distros handle it? > > On they say: > >Ubuntu 14.10 onwards: > >In Ubuntu 14.10 and 15.04, TR

Re: fstrim and SSDs and cron; was: Re: cron-service

2016-05-17 Thread Danny Milosavljevic
> I had never thought of it, but maybe it’s a good idea. How do other > distros handle it? On they say: >Ubuntu 14.10 onwards: >In Ubuntu 14.10 and 15.04, TRIMming happens automatically every week on all >SSDs supported by fstrim. >$ tai

Re: fstrim and SSDs and cron; was: Re: cron-service

2016-05-17 Thread Danny Milosavljevic
Hi, > FWIW, I use SSDs in all my computers and have never run fstrim. Feels > a lot like the "defragment your hard drive" days. If you would run it now then it would free many gigabytes. What it does and why it's needed: Traditionally filesystems on hard disks would just reuse sectors once the

Re: fstrim and SSDs and cron; was: Re: cron-service

2016-05-17 Thread Thompson, David
On Tue, May 17, 2016 at 5:24 PM, Ludovic Courtès wrote: > Hi! > > Danny Milosavljevic skribis: > >> I can confirm that this works! > > Great, thanks for testing. > >> I'm using it to regularily call fstrim (one has to regularily call >> fstrim on SSDs) so the mcron behaviour of, if an appointment

Re: fstrim and SSDs and cron; was: Re: cron-service

2016-05-17 Thread Ludovic Courtès
Hi! Danny Milosavljevic skribis: > I can confirm that this works! Great, thanks for testing. > I'm using it to regularily call fstrim (one has to regularily call > fstrim on SSDs) so the mcron behaviour of, if an appointment was > missed, doing it at the first next availability is good for > r

fstrim and SSDs and cron; was: Re: cron-service

2016-05-17 Thread Danny Milosavljevic
Hi Ludo, thanks. I can confirm that this works! I'm using it to regularily call fstrim (one has to regularily call fstrim on SSDs) so the mcron behaviour of, if an appointment was missed, doing it at the first next availability is good for regularity. The man page says that trimming once a w