Re: how to tell if TRIM is working

From: Warner Losh <imp_at_bsdimp.com>
Date: Fri, 03 May 2024 14:33:57 UTC
On Fri, May 3, 2024 at 8:17 AM 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