Re: Does OpenZFS support taking snapshots of the entire operating system?
- In reply to: Matt Churchyard : "RE: Does OpenZFS support taking snapshots of the entire operating system?"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 28 Oct 2022 10:24:47 UTC
Assuming they're on the same pool or the components are direct descendants (thus you can use "-r" and do it with one command), yes. On 10/28/2022 04:26, Matt Churchyard wrote: > > -- 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 > /The Market Ticker/ > /[S/MIME encrypted email preferred]/ > -- Karl Denninger karl@denninger.net /The Market Ticker/ /[S/MIME encrypted email preferred]/