Re: periodic trim for ufs2 ssds

From: void <void_at_f-m.fm>
Date: Thu, 07 Dec 2023 14:40:47 UTC
On Thu, Dec 07, 2023 at 07:20:10AM -0700, Warner Losh wrote:

>You need to tunefs that on and it will happen as you go. There is no way to
>batch this up to do it in the background. But there's no advantage to
>trimming a block multiple times... :).

ok, thanks.

(I should have mentioned 14-stable amd64 context)

I booted single-user then ran: 
fsck -y /dev/ada0s1a
fsck_ffs -E /dev/ada0s1a
tunefs -t /dev/ada0s1a
fsck_ffs -E /dev/ada0s1a

then booted multiuser

will console/messages or some other log show when it runs?
smartctl(8) makes no mention of trim.
--