Re: periodic trim for ufs2 ssds
- Reply: Ronald Klop : "Re: periodic trim for ufs2 ssds"
- In reply to: void : "Re: periodic trim for ufs2 ssds"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 07 Dec 2023 15:21:44 UTC
Van: void <void@f-m.fm> Datum: donderdag, 7 december 2023 15:40 Aan: freebsd-fs@freebsd.org Onderwerp: Re: periodic trim for ufs2 ssds > > 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. > -- > > > > A tool like "gstat -d" will show columns for deletion which means trim. Regards, Ronald.