CFT: TRIM Consolodation on UFS/FFS filesystems

bob prohaska fbsd at www.zefox.net
Fri Aug 24 16:14:33 UTC 2018


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 at 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
 


More information about the freebsd-fs mailing list