From nobody Fri May 3 15:16:58 2024 X-Original-To: stable@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VWDtN1Fz0z5K9tj for ; Fri, 3 May 2024 15:17:00 +0000 (UTC) (envelope-from uspensky@x-art.ru) Received: from x-art.ru (charibdis.x-art.ru [80.70.228.55]) by mx1.freebsd.org (Postfix) with ESMTP id 4VWDtM62k3z52MW for ; Fri, 3 May 2024 15:16:59 +0000 (UTC) (envelope-from uspensky@x-art.ru) Authentication-Results: mx1.freebsd.org; none Received: from gw-old.x-art.ru (gw-old.x-art.ru [192.168.172.252]) by mta.x-art.ru (Postfix) with ESMTP id E07771BF33C; Fri, 3 May 2024 18:16:58 +0300 (MSK) Date: Fri, 3 May 2024 18:16:58 +0300 (MSK) From: Antony Uspensky X-X-Sender: aiu@gw-old.x-art.ru To: Warner Losh cc: mike tancsa , Matthew Grooms , stable@freebsd.org Subject: Re: how to tell if TRIM is working In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-stable@freebsd.org Sender: owner-freebsd-stable@FreeBSD.org MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:20807, ipnet:80.70.224.0/20, country:RU] X-Rspamd-Queue-Id: 4VWDtM62k3z52MW On Fri, 3 May 2024, Warner Losh wrote: > Ah yes. You need to enable ZFS trim. Do you mean autotrim property? No, better to run zpool trim manually. > The other trim destroys all the data on that partition. Not always. It sends TRIM subcommand. A.