Date: Fri, 3 May 2024 08:33:57 -0600 From: Warner Losh <imp@bsdimp.com> To: Antony Uspensky <uspensky@x-art.ru> Cc: mike tancsa <mike@sentex.net>, Matthew Grooms <mgrooms@shrew.net>, stable@freebsd.org Subject: Re: how to tell if TRIM is working Message-ID: <CANCZdfoshnihAxQKW5gFF6b_B_vucZycFAM4NGp2YbYW4r%2BD5A@mail.gmail.com> In-Reply-To: <alpine.BSF.2.00.2405031711340.23742@gw-old.x-art.ru> References: <alpine.BSF.2.00.2405031711340.23742@gw-old.x-art.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000d05ed606178d9c7e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, May 3, 2024 at 8:17=E2=80=AFAM Antony Uspensky <uspensky@x-art.ru> = wrote: > On Thu, 2 May 2024, Warner Losh wrote: > > > ZFS has a lot of knobs to control when / how / if this is done. > > trim(8) works on device level. > If you use ZFS, you rather need zpool-trim(8), which works on pool level. > Ah yes. You need to enable ZFS trim. I'd misread trim as zfs trim. The other trim destroys all the data on that partition. Warner --000000000000d05ed606178d9c7e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote">= <div dir=3D"ltr" class=3D"gmail_attr">On Fri, May 3, 2024 at 8:17=E2=80=AFA= M Antony Uspensky <<a href=3D"mailto:uspensky@x-art.ru">uspensky@x-art.r= u</a>> wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin= :0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"= >On Thu, 2 May 2024, Warner Losh wrote:<br> <br> > ZFS has a lot of knobs to control when / how / if this is done.<br> <br> trim(8) works on device level.<br> If you use ZFS, you rather need zpool-trim(8), which works on pool level.<b= r></blockquote><div><br></div><div>Ah yes. You need to enable ZFS trim. I&#= 39;d misread trim as zfs trim. The other trim destroys all the data</div><d= iv>on that partition.<br></div><div><br></div><div>Warner <br></div></div><= /div> --000000000000d05ed606178d9c7e--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfoshnihAxQKW5gFF6b_B_vucZycFAM4NGp2YbYW4r%2BD5A>