[kwlug-disc] Sharing ZFS joy

John Sellens jsellens at syonex.com
Wed Dec 29 00:55:29 EST 2021


It might be even easier than that.

I think the default is that snapshots are visible in .zfs/snapshot
in the root of the filesystem.  So, if you have a zfs filesystem
    mypool/home
mounted on /home (or /mypool/home), then you may be able to browse
snapshots in
    /home/.zfs/snapshot
without doing a clone.

Normally the .zfs directory doesn't show up in ls (or ls -a)
so you have to know to look for it.

Or at least that's my experience.

Cheers

John


On Tue, 2021/12/28 11:39:25PM -0500, Mikalai Birukou via kwlug-disc <kwlug-disc at kwlug.org> wrote:
| 1) `zfs clone -o mountpoint=<mount_of_that> <snapshot> <view-fs>` Clones and
| mounts snapshot-ed data, making it accessible. This operation is fast as is
| it doesn't any byte move/unzip-ing.
| 
| 2) Do corrective operations.
| 
| 3) Unmount and destroy <view-fs>.




More information about the kwlug-disc mailing list