Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Oct 2023 17:06:22 +0000
From:      void <void@f-m.fm>
To:        freebsd-hackers@freebsd.org
Subject:   Re: zpool geli encryption question
Message-ID:  <df02022f-de9f-4430-b0db-a1688d31052d@app.fastmail.com>
In-Reply-To:  <CAOtMX2i%2B5x3_FmX75B83FRhDgY9LW5PV3KTCpnZbpLZ6tfWecg@mail.gmail.com>
References:  <ZSvrhL3IV4642-n5@int21h> <CAOtMX2jAs9%2BM79N-4LC9EdZ3y4jbvhWEWCs9KFxL9r=6zt%2BwZw@mail.gmail.com> <ZSwVurVf27qZvmTd@int21h> <CAOtMX2i%2B5x3_FmX75B83FRhDgY9LW5PV3KTCpnZbpLZ6tfWecg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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
-- 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?df02022f-de9f-4430-b0db-a1688d31052d>