From nobody Sun Oct 15 17:06:22 2023 X-Original-To: freebsd-hackers@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 4S7mqm3Q1Fz4xB2n for ; Sun, 15 Oct 2023 17:06:44 +0000 (UTC) (envelope-from void@f-m.fm) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4S7mql5tH1z4V5v for ; Sun, 15 Oct 2023 17:06:43 +0000 (UTC) (envelope-from void@f-m.fm) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=f-m.fm header.s=fm3 header.b=DsoL9NPR; dkim=pass header.d=messagingengine.com header.s=fm3 header.b="i7XGn/Qy"; spf=pass (mx1.freebsd.org: domain of void@f-m.fm designates 66.111.4.25 as permitted sender) smtp.mailfrom=void@f-m.fm; dmarc=pass (policy=none) header.from=f-m.fm Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 88AC55C0281 for ; Sun, 15 Oct 2023 13:06:43 -0400 (EDT) Received: from imap46 ([10.202.2.96]) by compute6.internal (MEProxy); Sun, 15 Oct 2023 13:06:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=f-m.fm; h=cc :content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm3; t=1697389603; x=1697476003; bh=/x DIwmX9ykNO2zG/se6k+OpFL/PFgErPdkrq0aRK8ig=; b=DsoL9NPRvOW0Wji37l Wa03LAX5rdexdYq+njOkiX+WWG8aTaoqGswQ+w4kTqIRYpAxuTLuw1l+2URAl8Z4 p+vUWR2nnfEq1kBIV5A5qdUcwXDr7sj/JwoIwffpA1BOaY8zV8SxqV1sIYtGlnYL Z9orTyF5YqBKsNuYWFt2D73s/b5jhJOgzEJ3C84tEjxm20zd9+1Nsv/bfYLx8zLY xAwoIeT5ZyaRReP3aPmjevN3G9pstJZ/rqyQPimvedd0Rvpij5GqDClG0vaQjPJe wushYcHMAHlxEayobg5QwOQmoUrEddBMZcLaS44HcV4Drwgt0eA5FNeroXLRDQ0T G/EA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; t=1697389603; x=1697476003; bh=/xDIwmX9ykNO2 zG/se6k+OpFL/PFgErPdkrq0aRK8ig=; b=i7XGn/QyepT6D/CPYVy3xKnUuE7Ko oY1redxXL0kjc0RLSuHXgpPk/Ql6aZ/bJlOOV8p4vmIJKjOgHCG871nnq0qhVi44 UwFEgQSIt78F7bgKzJfFgJCL7+Aw9qKrNPT+6NqLhMaUj57c4aUrb7WR2gii6gjM pYDcXGaErkhjwWkIrs6quLQdwCWYuWyexicw8PER4Wj9fSgm36SkPctA5e+fB121 xAj2gMCYRVCFSsJkPSl7/zu57MAYKQUVZ9rVd9HjGUOYPrQh7zTo2ny6ela6Nq98 uwP9AsRppHsBHmBxvTfMVTgY0tL034MSRJK9wAGZ/7Q7HFGRhp+zdKlzg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrieekgddutdefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfgjfhffhffvufgtsehttd ertderredtnecuhfhrohhmpehvohhiugcuoehvohhiugesfhdqmhdrfhhmqeenucggtffr rghtthgvrhhnpeeitedvueehtdehtddvhfeuhfevhedvieelvdeiffehveelheegfedule ejudekvdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhm pehvohhiugesfhdqmhdrfhhm X-ME-Proxy: Feedback-ID: i2541463c:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 4EBE62A20085; Sun, 15 Oct 2023 13:06:43 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-1019-ged83ad8595-fm-20231002.001-ged83ad85 List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 Message-Id: In-Reply-To: References: Date: Sun, 15 Oct 2023 17:06:22 +0000 From: void To: freebsd-hackers@freebsd.org Subject: Re: zpool geli encryption question Content-Type: text/plain X-Spamd-Bar: ----- X-Spamd-Result: default: False [-5.16 / 15.00]; DWL_DNSWL_LOW(-1.00)[messagingengine.com:dkim]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.97)[-0.967]; DMARC_POLICY_ALLOW(-0.50)[f-m.fm,none]; R_DKIM_ALLOW(-0.20)[f-m.fm:s=fm3,messagingengine.com:s=fm3]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.25:c]; RCVD_IN_DNSWL_LOW(-0.10)[66.111.4.25:from]; RWL_MAILSPIKE_GOOD(-0.10)[66.111.4.25:from]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; ARC_NA(0.00)[]; ASN(0.00)[asn:19151, ipnet:66.111.4.0/24, country:US]; FREEMAIL_ENVFROM(0.00)[f-m.fm]; TO_DN_NONE(0.00)[]; FREEMAIL_FROM(0.00)[f-m.fm]; RCVD_TLS_LAST(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[f-m.fm:+,messagingengine.com:+]; MIME_TRACE(0.00)[0:+]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org] X-Rspamd-Queue-Id: 4S7mql5tH1z4V5v On Sun, 15 Oct 2023, at 16:43, Alan Somers wrote: > Within the VM, do "zpool get autotrim zroot" to see if it's set. You > can also manually trim with "zpool trim zroot" if you don't want to > use the autotrim setting. > > Note that even without trim, it's possible that there are LBAs which > the VM simply has never written to. That could also explain the low > space usage on the host. # zpool get autotrim zroot NAME PROPERTY VALUE SOURCE zroot autotrim off default I've enabled it on the VM. I was surprised this type of setting would work within the VM. I'll enable it (autotrim) on all hosts too. thanks --