From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thompson, David" Subject: Re: fstrim and SSDs and cron; was: Re: cron-service Date: Tue, 17 May 2016 21:56:19 -0400 Message-ID: References: <20160430192744.1fbe081f@scratchpost.org> <871t5lc432.fsf@gnu.org> <20160517192857.0bab0560@scratchpost.org> <87zirotm2n.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39164) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b2qij-0000m7-W8 for guix-devel@gnu.org; Tue, 17 May 2016 21:56:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b2qij-00063T-5K for guix-devel@gnu.org; Tue, 17 May 2016 21:56:22 -0400 Received: from mail-yw0-x22b.google.com ([2607:f8b0:4002:c05::22b]:33274) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b2qij-000635-1k for guix-devel@gnu.org; Tue, 17 May 2016 21:56:21 -0400 Received: by mail-yw0-x22b.google.com with SMTP id x194so34445329ywd.0 for ; Tue, 17 May 2016 18:56:20 -0700 (PDT) In-Reply-To: <87zirotm2n.fsf@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: =?UTF-8?Q?Ludovic_Court=C3=A8s?= Cc: guix-devel On Tue, May 17, 2016 at 5:24 PM, Ludovic Court=C3=A8s 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 was >> missed, doing it at the first next availability is good for >> regularity. The man page says that trimming once a week is good. >> >> Longer term maybe there should be a way of specifying that a >> filesystem should be trimmed in a "file-system" specification. Note >> that fstrim expects the filesystem to be mounted for it to work. > > I had never thought of it, but maybe it=E2=80=99s a good idea. How do ot= her > distros handle it? FWIW, I use SSDs in all my computers and have never run fstrim. Feels a lot like the "defragment your hard drive" days. - Dave