RE: Does OpenZFS support taking snapshots of the entire operating system?

From: Matt Churchyard <matt_at_userve.net>
Date: Fri, 28 Oct 2022 08:26:19 UTC
-- You can snapshot a running root filesystem if it is ZFS; that has always been true of ZFS.

-- If the "entire operating system" spans more than one filesystem or pool, however, you cannot get an atomic snapshot across them.  Thus if you want that capacity (e.g. an atomic snapshot that is an "instant in time") the "entire operating system" must be contained in one ZFS filesystem.

From the ZFS man page –

β€œ-r: Recursively create snapshots of all descendent datasets. Snapshots are taken atomically, so that all recursive snapshots correspond to the same moment in time.”

It’s perfectly possible to take an atomic snapshot of every dataset on a pool.

-
Matt
On 10/27/2022 09:26, Turritopsis Dohrnii Teo En Ming wrote:
Subject: Does OpenZFS support taking snapshots of the entire operating system?

Good day from Singapore,

Does OpenZFS support taking snapshots of the entire operating system?

--
Karl Denninger
karl@denninger.net<mailto:karl@denninger.net>
The Market Ticker
[S/MIME encrypted email preferred]