Re: removing GELI from a zfs-on-root system

From: Alan Somers <asomers_at_freebsd.org>
Date: Sun, 29 Jun 2025 14:26:59 UTC
On Sun, Jun 29, 2025 at 8:13 AM void <void@f-m.fm> wrote:

> Hi,
>
> I'd like to remove the GELI prompt/functionality from
> a root-on-zfs system. How can I do this without re-initialising
> the whole system? It's not a redundant array - it's just one disk.
>
> There are some methods turning up in a search, but from years ago,
> and zfs is a fast-moving target. They're all using redundant
> arrays in their examples.
>
> What I'm after is the latest approved/proper method to remove GELI
> from the booted, unlocked, single-disk zfs system. Is this possible
> in-situ?


Nope.  One way or another you will need to copy the entire disk.  You can't
just remove the encryption sector-by-sector.