From owner-freebsd-fs@freebsd.org Fri Aug 24 16:14:33 2018 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4C176108E20D; Fri, 24 Aug 2018 16:14:33 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "www.zefox.org", Issuer "www.zefox.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B04FC8C981; Fri, 24 Aug 2018 16:14:32 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.15.2/8.15.2) with ESMTPS id w7OGEiuL006433 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 24 Aug 2018 09:14:45 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id w7OGEh2s006432; Fri, 24 Aug 2018 09:14:43 -0700 (PDT) (envelope-from fbsd) Date: Fri, 24 Aug 2018 09:14:43 -0700 From: bob prohaska To: Kirk McKusick Cc: FreeBSD Filesystems , freebsd-arm@freebsd.org, bob prohaska Subject: Re: CFT: TRIM Consolodation on UFS/FFS filesystems Message-ID: <20180824161443.GB2157@www.zefox.net> References: <20180824000637.GA2157@www.zefox.net> <201808240027.w7O0Rh7f062555@chez.mckusick.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201808240027.w7O0Rh7f062555@chez.mckusick.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Aug 2018 16:14:33 -0000 On Thu, Aug 23, 2018 at 05:27:43PM -0700, Kirk McKusick wrote: > > Assuming that /dev/mmcsd0s2a is your /usr then when the filesystem Sorry, the mistake was mine. /dev/mmcsd0s2a was / in that attempt, which obviously can't work. Moving a bootable August 2nd snapshot microSD card to a USB adapter allowed root@www:/ # tunefs -t enable /dev/da2s2a tunefs: issue TRIM to the disk set When I remount the device with mount -o rw /dev/da2s2a /mnt the console reports WARNING: /mnt: TRIM flag on fs but disk does not support TRIM I hope that's a consequence of the intervening USB interface. I'll swap boot devices when the present buildworld completes and see if the tunefs command really worked. If it did, then it'll make sense to update and rebuild to a TRIM-enabled revision. That'll take a couple of days, even if I don't make any mistakes.. Sandisk has yet to clarify whether TRIM is supported on microSD. Thanks for reading, bob prohaska